Thank you.
Code to use for each device:
- Code: Select all
indigo.server.log(unicode(indigo.devices[DEVICE_ID]))
indigo.server.log(unicode(indigo.devices[DEVICE_ID]))
17 Mar 2018, 22:14:49
Script address : Blue Iris Server Device
batteryLevel : None
buttonGroupCount : 0
configured : True
description :
deviceTypeId : BlueIrisServer
displayStateId : deviceState
displayStateImageSel : SensorOn
displayStateValRaw : Cpu :34% MemFree :1.44G
displayStateValUi : Cpu :34% MemFree :1.44G
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 1630730552
globalProps : MetaProps : (dict)
com.GlennNZ.indigoplugin.BlueIris : (dict)
address : Blue Iris Server Device (string)
id : 1521099460
lastChanged : 2018-03-17 22:12:52
lastSuccessfulComm : 2018-03-17 22:12:52
model : BlueIris Server
name : Blue Iris Server Device
ownerProps : com.GlennNZ.indigoplugin.BlueIris : (dict)
address : Blue Iris Server Device (string)
pluginId : com.GlennNZ.indigoplugin.BlueIris
pluginProps : emptyDict : (dict)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
admin : true (bool)
alerts : 111 (string)
audio : true (bool)
clips : true (bool)
clipsInfo : Clips: 1055 files, 0.97T/0.98T; C: +27.3G, \HP_DS1 +839.6G (string)
cpu : 34 (integer)
cxns : 0 (integer)
deviceIsOnline : true (bool)
deviceIsOnline.ui : Online (string)
deviceLastUpdated : Sat Mar 17 22:12:51 2018 (string)
deviceState : Cpu :34% MemFree :1.44G (string)
deviceTimestamp : 1521324771.91 (string)
diskallocated : 6144 (integer)
diskfree : 29066 (integer)
diskname : c: (string)
disktotal : 60954 (integer)
diskused : 5071 (integer)
latitude : 54.881607 (real)
lock : 0 (string)
longitude : -1.818482 (real)
mem : 807.1M (string)
memfree : 1.44G (string)
memload : 57% (string)
profile : -1 (string)
schedule : Default (string)
signal : 1 (string)
systemName : Highsteads (string)
tzone : 0 (string)
uptime : 2:16:46:32 (string)
user : Indigo (string)
version : 4.7.2.0 (string)
warnings : 5 (string)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : False
version : None
17 Mar 2018, 22:16:56
Action Group Device
Script address : BlueIris Camera Front_Door
batteryLevel : None
buttonGroupCount : 0
configured : True
description :
deviceTypeId : BlueIrisCamera
displayStateId : Motion
displayStateImageSel : MotionSensor
displayStateValRaw : False
displayStateValUi : False
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 1630730552
globalProps : MetaProps : (dict)
com.GlennNZ.indigoplugin.BlueIris : (dict)
address : BlueIris Camera Front_Door (string)
animateGif : true (bool)
gifcompression : 200 (integer)
giftime : 10 (integer)
gifwidth : 600 (integer)
saveimage : true (bool)
widthimage : 1920 (integer)
id : 190503306
lastChanged : 2018-03-17 22:16:15
lastSuccessfulComm : 2018-03-17 22:16:15
model : BlueIris Camera
name : BlueIris Camera Front_Door
ownerProps : com.GlennNZ.indigoplugin.BlueIris : (dict)
address : BlueIris Camera Front_Door (string)
animateGif : true (bool)
gifcompression : 200 (integer)
giftime : 10 (integer)
gifwidth : 600 (integer)
saveimage : true (bool)
widthimage : 1920 (integer)
pluginId : com.GlennNZ.indigoplugin.BlueIris
pluginProps : emptyDict : (dict)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
CameraPaused : 0 (integer)
FPS : 15.1 (real)
ManRecLimit : 0 (integer)
Motion : false (bool)
Motion.ui : False (string)
MotionDetection : true (bool)
PluginTriggeringEnabled : true (bool)
PtzCycle : false (bool)
active : true (bool)
alertutc : 1521324097 (integer)
audio : false (bool)
color : 8151097 (integer)
deviceIsOnline : true (bool)
deviceIsOnline.ui : Online (string)
deviceLastUpdated : Sat Mar 17 22:16:14 2018 (string)
deviceTimestamp : (string)
error : (string)
height : 1520 (integer)
hidden : false (bool)
isAlerting : false (bool)
isEnabled : true (bool)
isManRec : false (bool)
isMotion : false (bool)
isNoSignal : false (bool)
isOnline : true (bool)
isPaused : false (bool)
isRecording : true (bool)
isTriggered : false (bool)
isYellow : false (bool)
lastMotionTriggerType : MOTION_A (string)
lastalert : 13977535 (integer)
nAlerts : 37 (integer)
nClips : 6 (integer)
nNoSignal : 0 (integer)
nTriggers : 62 (integer)
newalerts : 111 (integer)
optionDisplay : Front_Door (string)
optionValue : Front_Door (string)
pause : 0 (integer)
profile : -1 (integer)
ptz : true (bool)
timeLastMotion : Sat Mar 17 22:01:38 2018 (string)
type : 4 (integer)
webcast : true (bool)
width : 2688 (integer)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : False
version : None
17 Mar 2018, 22:18:15
Action Group Device
Script address : BlueIris Camera Living_Room
batteryLevel : None
buttonGroupCount : 0
configured : True
description :
deviceTypeId : BlueIrisCamera
displayStateId : Motion
displayStateImageSel : SensorOff
displayStateValRaw : False
displayStateValUi : Disabled
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 1630730552
globalProps : MetaProps : (dict)
com.GlennNZ.indigoplugin.BlueIris : (dict)
address : BlueIris Camera Living_Room (string)
animateGif : true (bool)
gifcompression : 150 (integer)
giftime : 10 (integer)
gifwidth : 800 (integer)
saveimage : true (bool)
widthimage : 1920 (integer)
id : 278157178
lastChanged : 2018-03-17 22:16:16
lastSuccessfulComm : 2018-03-17 22:16:16
model : BlueIris Camera
name : BlueIris Camera Living_Room
ownerProps : com.GlennNZ.indigoplugin.BlueIris : (dict)
address : BlueIris Camera Living_Room (string)
animateGif : true (bool)
gifcompression : 150 (integer)
giftime : 10 (integer)
gifwidth : 800 (integer)
saveimage : true (bool)
widthimage : 1920 (integer)
pluginId : com.GlennNZ.indigoplugin.BlueIris
pluginProps : emptyDict : (dict)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
CameraPaused : -1 (integer)
FPS : 0 (real)
ManRecLimit : 0 (integer)
Motion : false (bool)
Motion.ui : Disabled (string)
MotionDetection : true (bool)
PluginTriggeringEnabled : true (bool)
PtzCycle : false (bool)
active : true (bool)
alertutc : 1519147429 (integer)
audio : false (bool)
color : 8151097 (integer)
deviceIsOnline : false (bool)
deviceIsOnline.ui : Offline (string)
deviceLastUpdated : Sat Mar 17 22:16:14 2018 (string)
deviceTimestamp : (string)
error : (string)
height : 1520 (integer)
hidden : false (bool)
isAlerting : false (bool)
isEnabled : false (bool)
isManRec : false (bool)
isMotion : false (bool)
isNoSignal : false (bool)
isOnline : false (bool)
isPaused : true (bool)
isRecording : false (bool)
isTriggered : false (bool)
isYellow : false (bool)
lastMotionTriggerType : MOTION_A (string)
lastalert : -1 (integer)
nAlerts : 0 (integer)
nClips : 0 (integer)
nNoSignal : 0 (integer)
nTriggers : 0 (integer)
newalerts : 0 (integer)
optionDisplay : Living_Room (string)
optionValue : Living_Room (string)
pause : -1 (integer)
profile : -1 (integer)
ptz : true (bool)
timeLastMotion : Sun Mar 11 13:32:08 2018 (string)
type : 4 (integer)
webcast : true (bool)
width : 2688 (integer)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : False
version : None
<?xml version="1.0" encoding="UTF-8"?>
<Prefs type="dict">
<Httpserverport type="string">4556</Httpserverport>
<ImageTimeout type="integer">10</ImageTimeout>
<ServerTimeout type="integer">5</ServerTimeout>
<advanced type="bool">true</advanced>
<configMenuPollInterval type="string">300</configMenuPollInterval>
<configMenuServerTimeout type="string">15</configMenuServerTimeout>
<configUpdaterForceUpdate type="bool">false</configUpdaterForceUpdate>
<configUpdaterInterval type="integer">24</configUpdaterInterval>
<debugextra type="bool">false</debugextra>
<debuggif type="bool">false</debuggif>
<debugimage type="bool">false</debugimage>
<debugother type="bool">false</debugother>
<debugserver type="bool">false</debugserver>
<debugtriggers type="bool">false</debugtriggers>
<directory type="string">/Users/indigo/Documents/Indigo-BlueIris/</directory>
<generateCameras type="string"></generateCameras>
<infoLabel0 type="string"></infoLabel0>
<loginOK type="string">true</loginOK>
<loginServer type="string"></loginServer>
<openStore type="bool">true</openStore>
<sep224 type="string"></sep224>
<sep233 type="string"></sep233>
<sep235 type="string"></sep235>
<sep23ab5 type="string"></sep23ab5>
<sep2aa24 type="string"></sep2aa24>
<sep2aa33 type="string"></sep2aa33>
<sep4 type="string"></sep4>
<sep6 type="string"></sep6>
<sep7 type="string"></sep7>
<sep9 type="string"></sep9>
<sepnew44 type="string"></sepnew44>
<serverip type="string">192.168.100.33</serverip>
<serverpassword type="string">password</serverpassword>
<serverport type="string">3333</serverport>
<serverusername type="string">username</serverusername>
<showDebugInfo type="bool">false</showDebugInfo>
<showDebugLevel type="string"></showDebugLevel>
<space0 type="string"></space0>
<space1 type="string"></space1>
<space10 type="string"></space10>
<space11 type="string"></space11>
<space2 type="string"></space2>
<spacea2 type="string"></spacea2>
<updateFrequency type="string">24</updateFrequency>
<updaterEmail type="string"></updaterEmail>
<updaterEmailsEnabled type="bool">false</updaterEmailsEnabled>
</Prefs>
autolog wrote:I think you need the value from the state optionValue which is equivalent to the Blue Iris short name that is used in URLs
HomeKit Bridge HomeKit Bridge is loaded and ready to use
18 Mar 2018, 18:41:30
SQL Logger creating table device_history_1284831656 for "new device"
HomeKit Bridge Server 'new device' has changed ports or users, validating config
HomeKit Bridge NEW DEVICE
HomeKit Bridge Server 'new device' has no devices to publish to HomeKit, the server won't be started since there is nothing to serve
SQL Logger adding column "onoffstate_ui" to table device_history_1284831656 ("new device")
HomeKit Bridge HomeKit server 'Blue Iris' is not currently running, the configuration has been saved and will be used the next time this server starts
18 Mar 2018, 18:42:33
HomeKit Bridge Error Exception in plugin.buildServerConfigurationDict line 4377: 'list' object has no attribute 'childNodes'
CODE: biServerIp = self._getElementValueByTagName(prefs, u"serverip", required=False, default=u"")
HomeKit Bridge Error Unable to build server configuration for 'Blue Iris'.
HomeKit Bridge HomeKit server 'Blue Iris' is not currently running, the configuration has been saved and will be used the next time this server starts
Colorado4Wheeler wrote:Thanks for the feedback! Git's probably a better place to do this on the next update but as I said, it'll likely take 2-3 updates to do this because I'm working blindly. I'll see if I can patch that problem and put another release out.
CliveS wrote:BTW, Ghawken on Github is GlennNZ
Colorado4Wheeler wrote:Ok, try the latest 19.6 build that fixes that. If it works I'll be floored but one baby step at a time. I have no way to test this other than to build-patch-build based on people's feedback.
18 Mar 2018, 22:32:30
HomeKit Bridge Debug logging enabled
18 Mar 2018, 22:32:55
HomeKit Bridge Debug BlueIris Camera Front_Door started as a HomeKit Camera RTP Stream Management (Experimental)
HomeKit Bridge Debug Saving 'Blue Iris' configuration to /Library/Application Support/Perceptive Automation/Indigo 7/Preferences/Plugins/com.eps.indigoplugin.homekit-bridge/1284831656
HomeKit Bridge Error Exception in plugin.buildServerConfigurationDict line 4377: list index out of range
CODE: biServerIp = self._getElementValueByTagName(prefs[0], u"serverip", required=False, default=u"")
HomeKit Bridge Error Unable to build server configuration for 'Blue Iris'.
HomeKit Bridge HomeKit server 'Blue Iris' is not currently running, the configuration has been saved and will be used the next time this server starts
HomeKit Bridge Debug Indigo device BlueIris Camera Front_Door changed and is linked to HomeKit, checking if that change impacts HomeKit
HomeKit Bridge Debug BlueIris Camera Front_Door started as a HomeKit Camera RTP Stream Management (Experimental)
HomeKit Bridge Debug Indigo device BlueIris Camera Front_Door changed and is linked to HomeKit, checking if that change impacts HomeKit
HomeKit Bridge Debug BlueIris Camera Front_Door started as a HomeKit Camera RTP Stream Management (Experimental)
Users browsing this forum: No registered users and 2 guests