Jump to content

Vera plugin


tp546
Go to solution Solved by chef,

Recommended Posts

I had the plugin working great and then I edited some scenes and now I can't get Emby to find the scenes. It connects to my Vera but refreshing the scenes doesn't work and nothing loads. I tried uninstalling the plugin and reinstalling, but no luck. Any other ideas?

  • Like 1
Link to comment
Share on other sites

Xzener

@@chef any ideas here? Been a while since I fiddled with the plugin. Try uninstalling the plugin, then go to the plugin folder... Go to the configurations folder and delete anything Vera Plugin specific. Then reinstall. You'll have to reconfigure everything, but it should work. Hope that helps.

Edited by Xzener
  • Like 1
Link to comment
Share on other sites

chef

Sounds like Vera may have changed their API Endpoints in the latest UI version.

 

I will try it out today and see what happens.

 

I'll be back!

  • Like 1
Link to comment
Share on other sites

chef

Alright, 

 

1. Endpoints seems to be okay

 

2. I was able to create new scenes and edit scenes and have them show up properly in emby.

 

So, it sounds as though the configuration XML got corrupted during editing.  Indeed Xzener's theory should fix things for you @@tp546.

 

However if you are still having issues, please let me know because we need to fix them. 

 

Actually please post the Plugin Configuration XMLhere if possible:

 

"AppData\Roaming\MediaBrowser-Server\plugins\configurations"

 

Then we can see where the problems exist.

Edited by chef
  • Like 1
Link to comment
Share on other sites

Alright, 

 

1. Endpoints seems to be okay

 

2. I was able to create new scenes and edit scenes and have them show up properly in emby.

 

So, it sounds as though the configuration XML got corrupted during editing.  Indeed Xzener's theory should fix things for you @@tp546.

 

However if you are still having issues, please let me know because we need to fix them. 

 

Actually please post the Plugin Configuration XMLhere if possible:

 

"AppData\Roaming\MediaBrowser-Server\plugins\configurations"

 

Then we can see where the problems exist.

 

Am I looking in the wrong place? The only files I see in that folder are:

CoverArt.xml

GameBrowser.xml

MediaBrowser.Plugins.Dlna.xml

 

I am in this directory:

C:\ProgramData\MediaBrowser-Server\plugins\configurations

Link to comment
Share on other sites

Okay so I found that file, uninstalled the plugin and then deleted the file. I reinstalled the plugin and it still won't find my Vera (I keep getting the page that tells me to refresh but refreshing doesn't change anything), but the config file seems to have all the correct data - see here:

https://dl.dropboxusercontent.com/u/472290/Vera%20Smart%20Home%20Automation.xml

 

let me know what else i can try to fix it. Thanks.

Link to comment
Share on other sites

chef

I can't  reproduce this. The Scenes are missing for you, but I seem to be able to populate my list on restart.

 

What version of the plugin are you currently using?

 

 

Here is something we can try:

 

 

We need to restart the Vera Lite @@tp546.

 

Please save a backup of the Vera Smart Home Automation.XML, and remove it from the "Configuration" folder (not the Plugin DLL, just the XML File).

 

Unplug the Network cable and the power form your Vera Lite and then plug it back in.

 

Wait for it to initiate it's startup (all the lights are on, blue, orange, green).

 

Restart the Emby Server.

 

If this doesn't work then I have a newer version of the plugin which shou

Edited by chef
  • Like 1
Link to comment
Share on other sites

Xzener

Noticed in the past, not sure if its still an issue, but I had to refresh the browser for the app to detect my scenes. Not sure if you have tried that.

Link to comment
Share on other sites

chef

The only time I have noticed this happen is, a while ago, when emby would "glitch out" and a rouge ffmpeg.exe process wouldn't end and the server would become unresponsive. The Vera plugin wouldn't load properly.

 

@@Xzener are you experiencing this behaviour with the scene list? I am stumped.

 

We will have to wait and see if a reboot of the Vera lite fixes the issue.

  • Like 1
Link to comment
Share on other sites

I can't  reproduce this. The Scenes are missing for you, but I seem to be able to populate my list on restart.

 

What version of the plugin are you currently using?

 

 

Here is something we can try:

 

 

We need to restart the Vera Lite @@tp546.

 

Please save a backup of the Vera Smart Home Automation.XML, and remove it from the "Configuration" folder (not the Plugin DLL, just the XML File).

 

Unplug the Network cable and the power form your Vera Lite and then plug it back in.

 

Wait for it to initiate it's startup (all the lights are on, blue, orange, green).

 

Restart the Emby Server.

 

If this doesn't work then I have a newer version of the plugin which shou

Hey chef,

I tried that but no luck. A new xml file was created with all the same info but still getting the same result.

Link to comment
Share on other sites

here it is:

 

{ "full": 1, "version": "*1.5.622*", "model": "Sercomm NA900", "zwave_heal": 1, "temperature": "F", "serial_number": "30008696\n", "fwd1": "fwd4.mios.com", "fwd2": "fwd3.mios.com", "sections": [ { "name": "My Home", "id": 1 } ], "rooms": [ { "name": "Bedroom", "id": 3, "section": 1 }, { "name": "Dining Room", "id": 5, "section": 1 }, { "name": "Guest Bedroom", "id": 9, "section": 1 }, { "name": "Kitchen", "id": 8, "section": 1 }, { "name": "Laundry Room", "id": 7, "section": 1 }, { "name": "Living Room", "id": 1, "section": 1 }, { "name": "Mancave", "id": 2, "section": 1 }, { "name": "Office\/Game Room", "id": 6, "section": 1 }, { "name": "Outside", "id": 10, "section": 1 }, { "name": "Storage Unit", "id": 4, "section": 1 } ], "scenes": [ { "active": 0, "name": "All Sleep", "id": 15, "room": 0 }, { "name": "Home - Basement", "id": 16, "room": 0, "active": 0 }, { "active": 0, "name": "Home - Kitchen", "id": 17, "room": 0 }, { "active": 0, "name": "Kitchen Off", "id": 40, "room": 0 }, { "name": "Kitchen On", "id": 39, "room": 0, "active": 1 }, { "active": 1, "name": "Mancave Cable Box", "id": 61, "room": 2 }, { "active": 1, "name": "Mancave Chromecast", "id": 60, "room": 2 }, { "active": 0, "name": "Mancave Close WMC", "id": 70, "room": 2 }, { "active": 0, "name": "Mancave Emby Stop Play", "id": 91, "room": 2 }, { "active": 0, "name": "Mancave Emby play", "id": 63, "room": 2 }, { "active": 1, "name": "Mancave Fire TV", "id": 80, "room": 2 }, { "name": "Mancave HTPC On", "id": 46, "room": 2, "active": 1, "state": -1, "comment": "" }, { "name": "Mancave Lights Off", "id": 75, "room": 2, "active": 0 }, { "active": 0, "name": "Mancave LiveTV", "id": 68, "room": 2 }, { "active": 1, "name": "Mancave Mute", "id": 74, "room": 2 }, { "name": "Mancave Off", "id": 45, "room": 2, "state": -1, "comment": "", "active": 0 }, { "active": 1, "name": "Mancave PC", "id": 62, "room": 2 }, { "active": 0, "name": "Mancave Pause", "id": 50, "room": 2 }, { "active": 0, "name": "Mancave Play", "id": 51, "room": 2 }, { "active": 0, "name": "Mancave Recorded TV", "id": 77, "room": 2 }, { "active": 0, "name": "Mancave Skip Back x3", "id": 49, "room": 2 }, { "active": 0, "name": "Mancave Skip Fwd", "id": 67, "room": 2 }, { "active": 0, "name": "Mancave Skip Fwd x6", "id": 48, "room": 2 }, { "active": 0, "name": "Mancave Skip back", "id": 69, "room": 2 }, { "active": 0, "name": "Mancave Stop", "id": 81, "room": 2 }, { "active": 1, "name": "Mancave Vol Down 5", "id": 73, "room": 2 }, { "active": 1, "name": "Mancave Vol Up 5", "id": 72, "room": 2 }, { "name": "Mancave lights on", "id": 64, "room": 2, "active": 1 }, { "active": 0, "name": "Mancave slight dim", "id": 90, "room": 2 }, { "active": 0, "name": "Message Shannon", "id": 82, "room": 2 }, { "active": 0, "name": "Music-Kitchen", "id": 30, "room": 0 }, { "active": 0, "name": "Nobody Home", "id": 18, "room": 0, "state": -1, "comment": "" }, { "active": 0, "name": "Overnight_DRoom_on", "id": 32, "room": 5 }, { "active": 0, "name": "Overnight_mancave_on", "id": 33, "room": 2 }, { "active": 0, "name": "Play 4 stars", "id": 83, "room": 2 }, { "active": 0, "name": "Small TV Chromecast", "id": 87, "room": 2 }, { "active": 0, "name": "Small TV NESN", "id": 86, "room": 2 }, { "name": "TP Arriving Home, Shannon Away", "id": 19, "room": 0, "active": 1, "state": -1, "comment": "" }, { "name": "TP\/SM Arriving Home", "id": 65, "room": 0, "active": 1 }, { "name": "Tom Away, Shannon Home", "id": 20, "room": 0, "active": 1 }, { "active": 0, "name": "Turn down max temp 2 degrees", "id": 76, "room": 0 }, { "active": 0, "name": "Turn down min temp by 2 degrees", "id": 78, "room": 0 }, { "active": 0, "name": "Turn up max temp by 2 degrees", "id": 79, "room": 0 }, { "active": 0, "name": "Turn up min temp 2 degrees", "id": 66, "room": 0 }, { "active": 1, "name": "Unlock front door", "id": 38, "room": 0, "state": -1, "comment": "" }, { "active": 0, "name": "Waking Up", "id": 47, "room": 0 }, { "name": "Xmas Off", "id": 44, "room": 0, "active": 1 }, { "active": 0, "name": "Xmas On", "id": 43, "room": 0 } ], "devices": [ { "name": "AutoVera", "altid": "", "id": 29, "category": 0, "subcategory": -1, "room": 0, "parent": 0 }, { "name": "AVR-1913USA - ", "altid": "", "id": 44, "category": 0, "subcategory": -1, "room": 1, "parent": 0, "ip": "192.168.1.217", "status": "1" }, { "name": "Back Deck Light", "altid": "20", "id": 42, "category": 3, "subcategory": 0, "room": 10, "parent": 1, "status": "0", "state": -1, "comment": "" }, { "name": "Back Door", "altid": "31", "id": 112, "category": 4, "subcategory": 3, "room": 10, "parent": 1, "batterylevel": "80", "status": "0", "armed": "0", "tripped": "0", "lasttrip": "1440611990", "state": -1, "comment": "" }, { "name": "Bar Xmas Lights", "altid": "26", "id": 52, "category": 3, "subcategory": 0, "room": 5, "parent": 1, "status": "0", "watts": "0", "kwh": "4.3250", "state": 2, "comment": "Bar Xmas Lights: Failed at: Purging associations" }, { "name": "Bedroom Air Filter", "altid": "11", "id": 10, "category": 3, "subcategory": 0, "room": 3, "parent": 1, "status": "0", "tripped": "1", "lasttrip": "1413783257", "armed": "0", "state": -1, "comment": "" }, { "name": "Bedroom Camera", "altid": "2368334", "id": 102, "category": 6, "subcategory": 0, "room": 3, "parent": 0, "ip": "192.168.1.34", "streaming": "\/nphMotionJpeg?Resolution=640x480&Quality=Clarity", "url": "\/shot.jpg" }, { "name": "Bud Light", "altid": "e3", "id": 19, "category": 3, "subcategory": 0, "room": 2, "parent": 15, "status": "0", "kwh": "8.7140", "watts": "0", "state": -1, "comment": "" }, { "name": "Ceiling Fan\/Light", "altid": "19", "id": 41, "category": 2, "subcategory": 0, "room": 1, "parent": 1, "status": "0", "level": "0", "state": -1, "comment": "" }, { "name": "Christmas Tree", "altid": "10", "id": 26, "category": 3, "subcategory": 0, "room": 1, "parent": 1, "status": "0", "watts": "0", "kwh": "8.8230", "state": -1, "comment": "" }, { "name": "Day or Night", "altid": "", "id": 108, "category": 0, "subcategory": -1, "room": 0, "parent": 0, "status": "1" }, { "name": "Dining Room Humidity Sensor", "altid": "e5", "id": 37, "category": 16, "subcategory": 0, "room": 5, "parent": 34, "humidity": "62" }, { "name": "Dining Room Light Sensor", "altid": "e3", "id": 36, "category": 18, "subcategory": 0, "room": 5, "parent": 34, "light": "152" }, { "name": "Dining Room Motion Sensor", "altid": "9", "id": 34, "category": 4, "subcategory": 3, "room": 5, "parent": 1, "status": "0", "pulse": "51249310", "batterylevel": "70", "armed": "0", "humidity": "62", "temperature": "60", "light": "152", "state": -1, "comment": "", "tripped": "1", "lasttrip": "1440615398" }, { "name": "Dining Room Temp Sensor", "altid": "e1", "id": 35, "category": 17, "subcategory": 0, "room": 5, "parent": 34, "temperature": "60" }, { "name": "Front Door", "altid": "6", "id": 6, "category": 7, "subcategory": 0, "room": 0, "parent": 1, "pincodes": "<VERSION=3>0\t1,0;\t2,0;\t3,0;\t4,0;\t5,0;\t6,0;\t7,0;\t8,0;\t9,0;\t10,0;\t11,0;\t12,0;\t13,0;\t14,0;\t15,0;\t16,0;\t17,0;\t18,0;\t19,0;\t20,0;\t21,0;\t22,0;\t23,0;\t24,0;\t25,0;\t26,0;\t27,0;\t28,0;\t29,0;\t30,0;\t", "batterylevel": "80", "status": "0", "locked": "1", "state": -1, "comment": "" }, { "name": "Guest Bedroom Camera", "altid": "2415890", "id": 109, "category": 6, "subcategory": -1, "room": 9, "parent": 0, "ip": "192.168.1.162", "url": "snapshot.cgi?user=admin&pwd=BostonSt" }, { "name": "Guest Bedroom Xmas Lights", "altid": "25", "id": 51, "category": 3, "subcategory": 0, "room": 9, "parent": 1, "status": "0", "watts": "0", "kwh": "4.3250", "light": "102", "state": -1, "comment": "" }, { "name": "Hallway Light", "altid": "14", "id": 12, "category": 2, "subcategory": 0, "room": 0, "parent": 1, "level": "30", "status": "1", "state": -1, "comment": "" }, { "name": "Hanging Lights", "altid": "16", "id": 14, "category": 2, "subcategory": 0, "room": 8, "parent": 1, "status": "1", "level": "100", "state": -1, "comment": "" }, { "name": "Harmony Control", "altid": "HAM54_CNTRL", "id": 54, "category": 3, "subcategory": 0, "room": 2, "parent": 0, "ip": "192.168.1.134", "pllint": "30", "linkstat": "Ok", "caid": "10356496", "status": "1", "lstcmd": "get_current_activity_id", "state": -1, "comment": "", "lstcmdt": "14:57:01 Wed, 26 Aug 2015" }, { "name": "HRM: 60in LG LED", "altid": "HAM54_21091192", "id": 93, "category": 3, "subcategory": 0, "room": 2, "parent": 54 }, { "name": "HRM: AV Receiver-Basement Main", "altid": "HAM54_21091190", "id": 92, "category": 3, "subcategory": 0, "room": 2, "parent": 54 }, { "name": "HRM: Comcast DVR", "altid": "HAM54_21091185", "id": 90, "category": 3, "subcategory": 0, "room": 2, "parent": 54 }, { "name": "HRM: HDMI Matrix", "altid": "HAM54_21091191", "id": 94, "category": 3, "subcategory": 0, "room": 2, "parent": 54 }, { "name": "HRM: iSymphony 24in TV", "altid": "HAM54_21091188", "id": 95, "category": 3, "subcategory": 0, "room": 2, "parent": 54 }, { "name": "HRM: LG Network Blu-Ray", "altid": "HAM54_21091183", "id": 98, "category": 3, "subcategory": 0, "room": 2, "parent": 54 }, { "name": "HRM: Lights", "altid": "HAM54_21091189", "id": 97, "category": 3, "subcategory": 0, "room": 2, "parent": 54, "state": -1, "comment": "" }, { "name": "HRM: Living Room HTPC", "altid": "HAM54_21091187", "id": 91, "category": 3, "subcategory": 0, "room": 2, "parent": 54 }, { "name": "HRM: MCE 2004 Input", "altid": "HAM54_21091186", "id": 96, "category": 3, "subcategory": 0, "room": 2, "parent": 54 }, { "name": "Humidity", "altid": "Weather-Current-Humidity", "id": 71, "category": 16, "subcategory": 0, "room": 0, "parent": 67, "humidity": "42" }, { "name": "Info Viewer", "altid": "", "id": 75, "category": 0, "subcategory": -1, "room": 0, "parent": 0 }, { "name": "Kitchen Cabinet Xmas Lights", "altid": "24", "id": 50, "category": 3, "subcategory": 0, "room": 8, "parent": 1, "status": "0", "watts": "0", "kwh": "3.5620", "state": -1, "comment": "" }, { "name": "Kitchen Counter Lights", "altid": "15", "id": 13, "category": 2, "subcategory": 0, "room": 8, "parent": 1, "level": "50", "status": "1", "state": -1, "comment": "" }, { "name": "Kitchen Overhead Lights", "altid": "2", "id": 3, "category": 2, "subcategory": 0, "room": 8, "parent": 1, "level": "100", "status": "1", "state": -1, "comment": "" }, { "name": "Laundry Room Flood Sensor", "altid": "3", "id": 32, "category": 4, "subcategory": 3, "room": 7, "parent": 1, "armed": "1", "tripped": "0", "lasttrip": "1429991678", "batterylevel": "100", "status": "0", "state": -1, "comment": "" }, { "name": "Living Room Camera", "altid": "2415890", "id": 105, "category": 6, "subcategory": 0, "room": 1, "parent": 0, "ip": "192.168.1.112:1048", "streaming": "\/snapshot.cgi?user=admin&pwd=password", "url": "\/snapshot.cgi?user=admin&pwd=BostonSt" }, { "name": "Mancave Air Filter", "altid": "e4", "id": 18, "category": 3, "subcategory": 0, "room": 2, "parent": 15, "kwh": "0.0650", "watts": "0", "status": "1", "state": -1, "comment": "" }, { "name": "Mancave Humidity Sensor", "altid": "e5", "id": 22, "category": 16, "subcategory": 0, "room": 2, "parent": 11, "humidity": "51" }, { "name": "Mancave Light Sensor", "altid": "e3", "id": 21, "category": 18, "subcategory": 0, "room": 2, "parent": 11, "light": "103" }, { "name": "Mancave Motion Sensor", "altid": "13", "id": 11, "category": 4, "subcategory": 3, "room": 2, "parent": 1, "batterylevel": "92", "armed": "0", "temperature": "67", "humidity": "51", "light": "103", "state": -1, "comment": "", "tripped": "1", "lasttrip": "1440615394" }, { "name": "Mancave Railing Xmas Lights", "altid": "23", "id": 49, "category": 3, "subcategory": 0, "room": 2, "parent": 1, "status": "0", "watts": "0", "kwh": "0.2480", "state": -1, "comment": "" }, { "name": "Mancave Temp Sensor", "altid": "e1", "id": 20, "category": 17, "subcategory": 0, "room": 2, "parent": 11, "temperature": "67" }, { "name": "Office Christmas Lights", "altid": "28", "id": 87, "category": 3, "subcategory": 0, "room": 6, "parent": 1, "status": "0", "watts": "0", "kwh": "0.0820", "state": -1, "comment": "" }, { "name": "Office Door", "altid": "21", "id": 43, "category": 4, "subcategory": 3, "room": 6, "parent": 1, "armed": "1", "batterylevel": "100", "tripped": "0", "lasttrip": "1440609534", "state": -1, "comment": "" }, { "name": "Office Light", "altid": "22", "id": 45, "category": 2, "subcategory": 0, "room": 6, "parent": 1, "status": "0", "level": "0", "state": -1, "comment": "" }, { "name": "Outdoor Temperature", "altid": "Weather-Current-Temperature", "id": 68, "category": 17, "subcategory": 0, "room": 0, "parent": 67, "temperature": "83.7" }, { "name": "Patio Lights", "altid": "32", "id": 113, "category": 3, "subcategory": 0, "room": 10, "parent": 1, "status": "0", "state": -1, "comment": "" }, { "name": "Patio Sound", "altid": "27", "id": 53, "category": 3, "subcategory": 0, "room": 10, "parent": 1, "kwh": "11.6850", "status": "0", "watts": "0", "state": -1, "comment": "" }, { "name": "Ping Sensor - SM_Laptop", "altid": "", "id": 99, "category": 0, "subcategory": -1, "room": 0, "parent": 0, "tripped": "0", "lasttrip": "1440592582", "armed": "1", "status": "1" }, { "name": "Ping Sensor - TP_Cell", "altid": "", "id": 48, "category": 0, "subcategory": -1, "room": 0, "parent": 0, "tripped": "0", "lasttrip": "1435181560", "armed": "1", "status": "1" }, { "name": "Power Strip ALL", "altid": "17", "id": 15, "category": 3, "subcategory": 0, "room": 2, "parent": 1, "status": "0", "kwh": "231.1940", "watts": "0", "state": -1, "comment": "" }, { "name": "Program Logic Event Generator", "altid": "", "id": 31, "category": 0, "subcategory": -1, "room": 0, "parent": 0, "armed": "1", "conditionrepeat": "{'Overnight_DRoom_on':true,'Overnight_mancave_on':true,'Overnight_Office_Light':true,'Day_Night_Office_Light':true,'SmallTVPowerOn1':true,'TP_wakes_up_cold_out':true,'TP_wakes_up_hot_out':true,'Anyone_home_cold_out':true,'Anyone_home_warm_out':true,'No_motion':true,'Nobody_home':true,'All_sleeping_cold_outside':true,'All_sleeping_hot_outside':true,'SM_wakes_up_cold_out':true,'SM_wakes_up_warm_out':true,'SM_Leaving_for_Work':true,'SM_arrives_home_alone':true,'Nobody_sleeping':true,'Motion_nobody_home':true,'Anyone_home_middle_temp':true,'All_sleeping_middle':true,'Back_door_open_night':true,'Back_door_open1':true,'Back_door_closed':true,'Mancave_on':true,'Mancave_off':true,'Lo_temp_below_30':true,'Hi_temp_above_70':true,'Lo_temp_above_30':true,'Hi_temp_below_70':true,'Anyone_sleeping':true,'Back_deck_light_on1':true,'Back_deck_light_off':true,'Patio_Sound_Lights':true,'Patio_Sound_Light_Off':true}", "schedules": "[['Daytime','2','07:00:00','1,2,3,4,5,6,7','','2','17:29:59','1,2,3,4,5,6,7',''],['Leave_for_work_window','2','04:00:00','1,2,3,4,5,6,7','','2','10:00:00','1,2,3,4,5,6,7',''],['Night','2','17:30:00','1,2,3,4,5,6,7','','2','23:29:59','1,2,3,4,5,6,7',''],['Overnight','2','22:30:00','1,2,3,4,5,6,7','','2','07:59:59','1,2,3,4,5,6,7','']]", "triggers": "[{'name':'Back_deck_light_on','device':'42','template':'1','service':'urn:upnp-org:serviceId:SwitchPower1','args':[{'name':'Status','op':'=','value':'1'}]},{'name':'Back_door_open','device':'112','template':'1','service':'urn:micasaverde-com:serviceId:SecuritySensor1','args':[{'name':'Tripped','op':'=','value':'1'}]},{'device':'34','name':'Dining_room_motion','template':'1','service':'urn:micasaverde-com:serviceId:SecuritySensor1','args':[{'name':'Tripped','op':'=','value':'1'}]},{'name':'Front_Door_Open','device':'6','template':'1','service':'urn:micasaverde-com:serviceId:DoorLock1','args':[{'name':'Status','op':'=','value':'0'}]},{'name':'High_temp_above_70','device':'70','template':'1','service':'urn:upnp-org:serviceId:TemperatureSensor1','args':[{'name':'CurrentTemperature','op':'>','value':'70'}]},{'name':'Low_temp_under_30','device':'69','template':'2','service':'urn:upnp-org:serviceId:TemperatureSensor1','args':[{'name':'CurrentTemperature','op':'<','value':'30'}]},{'device':'11','name':'Mancave_motion','template':'1','service':'urn:micasaverde-com:serviceId:SecuritySensor1','args':[{'name':'Tripped','op':'=','value':'1'}]},{'name':'Night1','device':'108','template':'1','service':'urn:rts-services-com:serviceId:DayTime','args':[{'name':'Status','op':'=','value':'0'}]},{'name':'Office_Door_Open','device':'43','template':'1','service':'urn:micasaverde-com:serviceId:SecuritySensor1','args':[{'name':'Tripped','op':'=','value':'1'}]},{'name':'SM_Home','device':'100','template':'1','service':'urn:upnp-org:serviceId:VSwitch1','args':[{'name':'Status','op':'=','value':'1'}]},{'name':'SM_On_wifi','device':'99','template':'1','service':'urn:micasaverde-com:serviceId:SecuritySensor1','args':[{'name':'Tripped','op':'=','value':'1'}]},{'name':'SM_Sleeping','device':'101','template':'1','service':'urn:upnp-org:serviceId:VSwitch1','args':[{'name':'Status','op':'=','value':'1'}]},{'name':'SmallTVPowerOn','device':'16','template':'1','service':'urn:upnp-org:serviceId:SwitchPower1','args':[{'name':'Status','op':'=','value':'1'}]},{'name':'Stairs_On','device':'111','template':'1','service':'urn:upnp-org:serviceId:SwitchPower1','args':[{'name':'Status','op':'=','value':'1'}]},{'name':'TP_Home','device':'76','template':'1','service':'urn:upnp-org:serviceId:VSwitch1','args':[{'name':'Status','op':'=','value':'1'}]},{'name':'TP_on_Wifi','device':'48','template':'1','service':'urn:micasaverde-com:serviceId:SecuritySensor1','args':[{'name':'Tripped','op':'=','value':'1'}]},{'name':'TP_Sleeping','device':'77','template':'1','service':'urn:upnp-org:serviceId:VSwitch1','args':[{'name':'Status','op':'=','value':'1'}]},{'name':'Patio_Sound_on','device':'53','template':'1','service':'urn:upnp-org:serviceId:SwitchPower1','args':[{'name':'Status','op':'=','value':'1'}]}]", "actions": "{'Overnight_mancave_on':[{'delay':0,'actions':[{'device':'19','service':'urn:upnp-org:serviceId:SwitchPower1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'1'}]}]},{'delay':900,'actions':[{'device':'19','service':'urn:upnp-org:serviceId:SwitchPower1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'0'}]},{'device':'45','service':'urn:upnp-org:serviceId:Dimming1','action':'SetLoadLevelTarget','arguments':[{'name':'newLoadlevelTarget','value':'0'}]}]}],'Overnight_DRoom_on':[{'delay':0,'actions':[{'device':'12','service':'urn:upnp-org:serviceId:Dimming1','action':'SetLoadLevelTarget','arguments':[{'name':'newLoadlevelTarget','value':'20'}]},{'device':'14','service':'urn:upnp-org:serviceId:Dimming1','action':'SetLoadLevelTarget','arguments':[{'name':'newLoadlevelTarget','value':'20'}]},{'device':'40','service':'urn:upnp-org:serviceId:Dimming1','action':'SetLoadLevelTarget','arguments':[{'name':'newLoadlevelTarget','value':'20'}]}]},{'delay':900,'actions':[{'device':'14','service':'urn:upnp-org:serviceId:Dimming1','action':'SetLoadLevelTarget','arguments':[{'name':'newLoadlevelTarget','value':'0'}]},{'device':'12','service':'urn:upnp-org:serviceId:Dimming1','action':'SetLoadLevelTarget','arguments':[{'name':'newLoadlevelTarget','value':'0'}]},{'device':'40','service':'urn:upnp-org:serviceId:Dimming1','action':'SetLoadLevelTarget','arguments':[{'name':'newLoadlevelTarget','value':'0'}]}]}],'Overnight_Office_Light':[{'delay':0,'actions':[{'device':'19','service':'urn:upnp-org:serviceId:SwitchPower1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'1'}]},{'device':'45','service':'urn:upnp-org:serviceId:Dimming1','action':'SetLoadLevelTarget','arguments':[{'name':'newLoadlevelTarget','value':'30'}]}]},{'delay':1800,'actions':[{'device':'19','service':'urn:upnp-org:serviceId:SwitchPower1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'0'}]},{'device':'45','service':'urn:upnp-org:serviceId:Dimming1','action':'SetLoadLevelTarget','arguments':[{'name':'newLoadlevelTarget','value':'0'}]}]}],'Day_Night_Office_Light':[{'delay':0,'actions':[{'device':'45','service':'urn:upnp-org:serviceId:Dimming1','action':'SetLoadLevelTarget','arguments':[{'name':'newLoadlevelTarget','value':'100'}]}]}],'SmallTVPowerOn1':[{'delay':0,'actions':[]},{'delay':4,'actions':[{'device':'95','service':'urn:rboer-com:serviceId:HarmonyDevice1','action':'SendDeviceCommand','arguments':[{'name':'Command','value':'PowerToggle'}]}]}],'TP_wakes_up_cold_out':[{'delay':0,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:HVAC_UserOperatingMode1','action':'SetModeTarget','arguments':[{'name':'NewModeTarget','value':'HeatOn'}]},{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Heat','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'73'}]}]}],'TP_wakes_up_hot_out':[{'delay':0,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Cool','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'70'}]},{'device':'7','service':'urn:upnp-org:serviceId:HVAC_UserOperatingMode1','action':'SetModeTarget','arguments':[{'name':'NewModeTarget','value':'CoolOn'}]}]}],'Anyone_home_cold_out':[{'delay':0,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:HVAC_UserOperatingMode1','action':'SetModeTarget','arguments':[{'name':'NewModeTarget','value':'HeatOn'}]},{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Heat','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'72'}]},{'device':'7','service':'urn:upnp-org:serviceId:HVAC_FanOperatingMode1','action':'SetMode','arguments':[{'name':'NewMode','value':'ContinuousOn'}]}]}],'Anyone_home_warm_out':[{'delay':0,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:HVAC_UserOperatingMode1','action':'SetModeTarget','arguments':[{'name':'NewModeTarget','value':'CoolOn'}]},{'device':'7','service':'urn:upnp-org:serviceId:HVAC_FanOperatingMode1','action':'SetMode','arguments':[{'name':'NewMode','value':'ContinuousOn'}]},{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Cool','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'69'}]}]}],'No_motion':[],'Nobody_home':[{'delay':0,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Cool','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'77'}]},{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Heat','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'64'}]}]}],'All_sleeping_cold_outside':[{'delay':0,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:HVAC_UserOperatingMode1','action':'SetModeTarget','arguments':[{'name':'NewModeTarget','value':'HeatOn'}]},{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Heat','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'68'}]},{'device':'7','service':'urn:upnp-org:serviceId:HVAC_FanOperatingMode1','action':'SetMode','arguments':[{'name':'NewMode','value':'Auto'}]}]}],'All_sleeping_hot_outside':[{'delay':0,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:HVAC_UserOperatingMode1','action':'SetModeTarget','arguments':[{'name':'NewModeTarget','value':'CoolOn'}]},{'device':'7','service':'urn:upnp-org:serviceId:HVAC_FanOperatingMode1','action':'SetMode','arguments':[{'name':'NewMode','value':'Auto'}]},{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Cool','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'68'}]}]}],'SM_wakes_up_cold_out':[{'delay':0,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:HVAC_UserOperatingMode1','action':'SetModeTarget','arguments':[{'name':'NewModeTarget','value':'HeatOn'}]},{'device':'101','service':'urn:upnp-org:serviceId:VSwitch1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'0'}]},{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Heat','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'71'}]}]},{'delay':1200,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:HVAC_UserOperatingMode1','action':'SetModeTarget','arguments':[{'name':'NewModeTarget','value':'HeatOn'}]},{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Heat','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'68'}]}]}],'SM_wakes_up_warm_out':[{'delay':0,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Cool','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'70'}]},{'device':'7','service':'urn:upnp-org:serviceId:HVAC_UserOperatingMode1','action':'SetModeTarget','arguments':[{'name':'NewModeTarget','value':'CoolOn'}]},{'device':'101','service':'urn:upnp-org:serviceId:VSwitch1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'0'}]}]}],'SM_Leaving_for_Work':[{'delay':0,'actions':[{'device':'101','service':'urn:upnp-org:serviceId:VSwitch1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'0'}]},{'device':'100','service':'urn:upnp-org:serviceId:VSwitch1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'0'}]}]}],'SM_arrives_home_alone':[{'delay':0,'actions':[{'device':'12','service':'urn:upnp-org:serviceId:Dimming1','action':'SetLoadLevelTarget','arguments':[{'name':'newLoadlevelTarget','value':'50'}]},{'device':'13','service':'urn:upnp-org:serviceId:Dimming1','action':'SetLoadLevelTarget','arguments':[{'name':'newLoadlevelTarget','value':'30'}]},{'device':'3','service':'urn:upnp-org:serviceId:Dimming1','action':'SetLoadLevelTarget','arguments':[{'name':'newLoadlevelTarget','value':'100'}]}]}],'lua_SM_arrives_home_alone':'lul_settings%3D%7B%7D%0D%0Alul_settings%5B%22webcamNumber%22%5D%3D105%0D%0Aluup.call_action%28%22urn%3Amilliesoft-com%3AserviceId%3AWebcamDropboxUploader1%22%2C%22SendSnapshot%22%2C%20lul_settings%2C106%29','Nobody_sleeping':[{'delay':0,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:HVAC_FanOperatingMode1','action':'SetMode','arguments':[{'name':'NewMode','value':'ContinuousOn'}]},{'device':'10','service':'urn:upnp-org:serviceId:SwitchPower1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'0'}]}]}],'Motion_nobody_home':[{'delay':0,'actions':[]}],'lua_Motion_nobody_home':'lul_settings%3D%7B%7D%0D%0Alul_settings%5B%22webcamNumber%22%5D%3D105%0D%0Aluup.call_action%28%22urn%3Amilliesoft-com%3AserviceId%3AWebcamDropboxUploader1%22%2C%22SendSnapshot%22%2C%20lul_settings%2C106%29%0D%0A%0D%0Alul_settings%3D%7B%7D%0D%0Alul_settings%5B%22webcamNumber%22%5D%3D109%0D%0Aluup.call_action%28%22urn%3Amilliesoft-com%3AserviceId%3AWebcamDropboxUploader1%22%2C%22SendSnapshot%22%2C%20lul_settings%2C106%29','Anyone_home_middle_temp':[{'delay':0,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:HVAC_UserOperatingMode1','action':'SetModeTarget','arguments':[{'name':'NewModeTarget','value':'AutoChangeOver'}]},{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Heat','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'66'}]},{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Cool','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'72'}]}]}],'All_sleeping_middle':[{'delay':0,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:HVAC_UserOperatingMode1','action':'SetModeTarget','arguments':[{'name':'NewModeTarget','value':'AutoChangeOver'}]},{'device':'7','service':'urn:upnp-org:serviceId:HVAC_FanOperatingMode1','action':'SetMode','arguments':[{'name':'NewMode','value':'Auto'}]},{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Heat','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'64'}]},{'device':'7','service':'urn:upnp-org:serviceId:TemperatureSetpoint1_Cool','action':'SetCurrentSetpoint','arguments':[{'name':'NewCurrentSetpoint','value':'68'}]}]}],'Back_door_open_night':[{'delay':0,'actions':[{'device':'42','service':'urn:upnp-org:serviceId:SwitchPower1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'1'}]},{'device':'113','service':'urn:upnp-org:serviceId:SwitchPower1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'1'}]}]}],'Back_door_open1':[{'delay':0,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:HVAC_UserOperatingMode1','action':'SetModeTarget','arguments':[{'name':'NewModeTarget','value':'Off'}]}]}],'Back_door_closed':[{'delay':0,'actions':[{'device':'7','service':'urn:upnp-org:serviceId:HVAC_UserOperatingMode1','action':'SetModeTarget','arguments':[{'name':'NewModeTarget','value':'AutoChangeOver'}]}]}],'Mancave_on':[{'delay':0,'actions':[{'device':'54','service':'urn:rboer-com:serviceId:Harmony1','action':'StartActivity','arguments':[{'name':'newActivityID','value':'10356496'}]}]}],'Mancave_off':[{'delay':0,'actions':[{'device':'54','service':'urn:rboer-com:serviceId:Harmony1','action':'StartActivity','arguments':[{'name':'newActivityID','value':'-1'}]},{'device':'45','service':'urn:upnp-org:serviceId:Dimming1','action':'SetLoadLevelTarget','arguments':[{'name':'newLoadlevelTarget','value':'0'}]}]}],'Lo_temp_below_30':[{'delay':0,'actions':[]}],'Hi_temp_above_70':[{'delay':0,'actions':[]}],'Lo_temp_above_30':[],'Hi_temp_below_70':[],'Anyone_sleeping':[{'delay':0,'actions':[{'device':'10','service':'urn:upnp-org:serviceId:SwitchPower1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'1'}]},{'device':'7','service':'urn:upnp-org:serviceId:HVAC_FanOperatingMode1','action':'SetMode','arguments':[{'name':'NewMode','value':'Auto'}]}]}],'Back_deck_light_on1':[{'delay':0,'actions':[{'device':'113','service':'urn:upnp-org:serviceId:SwitchPower1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'1'}]}]}],'Back_deck_light_off':[{'delay':0,'actions':[{'device':'113','service':'urn:upnp-org:serviceId:SwitchPower1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'0'}]}]}],'Patio_Sound_Lights':[{'delay':0,'actions':[{'device':'113','service':'urn:upnp-org:serviceId:SwitchPower1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'1'}]},{'device':'42','service':'urn:upnp-org:serviceId:SwitchPower1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'1'}]}]}],'Patio_Sound_Light_Off':[{'delay':0,'actions':[{'device':'42','service':'urn:upnp-org:serviceId:SwitchPower1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'0'}]},{'device':'113','service':'urn:upnp-org:serviceId:SwitchPower1','action':'SetTarget','arguments':[{'name':'newTargetValue','value':'0'}]}]}]}", "properties": "[]", "state": -1, "comment": "", "conditionsatisfied": "None", "objectstatusmap": "{{name = 'Overnight_DRoom_on', state = false, seq = 1440586128.4953, oseq = 1440615398.3896},{name = 'Mancave_motion', state = true, seq = 1440615394.3589, oseq = 1440615182.2596},{name = 'Dining_room_motion', state = true, seq = 1440615398.3864, oseq = 1440615169.586},{name = 'Overnight_mancave_on', state = false, seq = 1440590123.2663, oseq = 1440615394.3636},{name = 'Daytime', state = true, seq = 1440586800.1004, oseq = 1440538199.1005},{name = 'Overnight_Office_Light', state = false, seq = 1440590242.9979, oseq = 1440609534.4674},{name = 'Office_Door_Open', state = false, seq = 1440609379.2758, oseq = 1440609534.4612},{name = 'Overnight', state = false, seq = 1440556200.1061, oseq = 1440590399.1004},{name = 'Night', state = false, seq = 1440538200.1061, oseq = 1440559799.1005},{name = 'Day_Night_Office_Light', state = false, seq = 1440609379.283, oseq = 1440609534.4687},{name = 'TP_Home', state = true, seq = 1440604402.276, oseq = 1440603763.3228},{name = 'TP_Sleeping', state = false, seq = 1440566430.2853, oseq = 1440597606.6097},{name = 'SmallTVPowerOn1', state = false, seq = 1440189302.9147, oseq = 1440190012.648},{name = 'SmallTVPowerOn', state = false, seq = 1440189302.9064, oseq = 1440190012.6403},{name = 'Leave_for_work_window', state = false, seq = 1440576000.101, oseq = 1440597600.1005},{name = 'SM_Sleeping', state = false, seq = 1440597605.0867, oseq = 1440597609.1183},{name = 'Front_Door_Open', state = false, seq = 1440604409.5817, oseq = 1440604445.7592},{name = 'TP_on_Wifi', state = false, seq = 1435181560.7896, oseq = 1435183278.1373},{name = 'SM_Home', state = false, seq = 1440597611.1609, oseq = 1440597613.9406},{name = 'SM_On_wifi', state = false, seq = 1440592583.053, oseq = 1440592607.8718},{name = 'Stairs_On', state = true, seq = 1440604542.097, oseq = 1440603862.6872},{name = 'TP_wakes_up_cold_out', state = false, seq = 1429363327.609, oseq = 1440613127.281},{name = 'TP_wakes_up_hot_out', state = false, seq = 1440424292.7421, oseq = 1440609528.0509},{name = 'Anyone_home_cold_out', state = false, seq = 1431715159.1747, oseq = 1440613127.3018},{name = 'Anyone_home_warm_out', state = true, seq = 1440609528.0652, oseq = 1440604127.5947},{name = 'Nobody_home', state = false, seq = 1440603763.3459, oseq = 1440604402.2995},{name = 'No_motion', state = false, seq = 1440615394.3841, oseq = 1440615398.4116},{name = 'All_sleeping_cold_outside', state = false, seq = 1429419361.436, oseq = 1440613127.3185},{name = 'All_sleeping_hot_outside', state = false, seq = 1440597605.1835, oseq = 1440609528.0781},{name = 'SM_Leaving_for_Work', state = false, seq = 1440592275.1125, oseq = 1440615398.1239},{name = 'SM_wakes_up_cold_out', state = false, seq = 1428836279.9911, oseq = 1440613127.2877},{name = 'SM_wakes_up_warm_out', state = false, seq = 1440587664.2908, oseq = 1440609528.0552},{name = 'SM_arrives_home_alone', state = false, seq = 1440599022.3257, oseq = 1440604445.8064},{name = 'Nobody_sleeping', state = true, seq = 1440597609.1746, oseq = 1440597606.6696},{name = 'Motion_nobody_home', state = false, seq = 1440603763.3813, oseq = 1440615398.4378},{name = 'Anyone_home_middle_temp', state = false, seq = 1439134223.0284, oseq = 1440613127.3128},{name = 'All_sleeping_middle', state = false, seq = 1439116709.4839, oseq = 1440613127.3233},{name = 'Back_door_open', state = false, seq = 1440611984.2889, oseq = 1440611990.2583},{name = 'Back_door_open_night', state = false, seq = 1440564247.7431, oseq = 1440611990.3123},{name = 'Night1', state = false, seq = 1440545415.6701, oseq = 1440583368.347},{name = 'Back_door_open1', state = false, seq = 1440586335.1568, oseq = 1440615398.2184},{name = 'Back_door_closed', state = true, seq = 1440611990.3151, oseq = 1440611984.4562},{name = 'Mancave_on', state = false, seq = 1439740250.4548, oseq = 1440611990.3239},{name = 'Mancave_off', state = false, seq = 1436130992.4313, oseq = 1440611990.3261},{name = 'High_temp_above_70', state = true, seq = 1440609528.0272, oseq = 1439131110.2641},{name = 'Lo_temp_below_30', state = false, seq = 1431715451.9693, oseq = 1440613127.2685},{name = 'Hi_temp_above_70', state = true, seq = 1440609528.0407, oseq = 1439131110.276},{name = 'Lo_temp_above_30', state = true, seq = 1440613127.2704, oseq = 1431715451.9725},{name = 'Hi_temp_below_70', state = false, seq = 1439131110.2776, oseq = 1440609528.0466},{name = 'Low_temp_under_30', state = false, seq = 0, oseq = 1440613127.2501},{name = 'Anyone_sleeping', state = false, seq = 1440597606.6547, oseq = 1440597609.1631},{name = 'Back_deck_light_on1', state = false, seq = 1440564249.0832, oseq = 1440564383.0572},{name = 'Back_deck_light_on', state = false, seq = 1440564248.9903, oseq = 1440564382.9319},{name = 'Back_deck_light_off', state = true, seq = 1440564383.0581, oseq = 1440564249.1085},{name = 'Patio_Sound_Lights', state = false, seq = 1439095149.0035, oseq = 1440611979.9792},{name = 'Patio_Sound_on', state = false, seq = 1440609709.476, oseq = 1440611979.9163},{name = 'Patio_Sound_Light_Off', state = false, seq = 1440545415.7363, oseq = 1440611979.9805},{name = 'NOW', state = true, seq = 1440615398.1004, oseq = 0},}" }, { "name": "Program Logic Timer Switch", "altid": "", "id": 65, "category": 0, "subcategory": -1, "room": 0, "parent": 0, "iconstate": "0", "status": "0", "state": "0", "armed": "", "interval": "0", "interval2": "0", "resetstate": "0", "switchmode": "0", "offcondition": "0", "conditionrepeat": "{}", "objectstatusmap": "{{name = 'Arm', state = nil, seq = 0, oseq = 1418242336.9691},{name = 'Bypass', state = nil, seq = 0, oseq = 1418242336.9692},{name = 'Reset', state = nil, seq = 0, oseq = 1418242336.9693},{name = 'Trigger', state = nil, seq = 0, oseq = 1418242336.9695},{name = 'Trigger2', state = nil, seq = 0, oseq = 1418242336.9696},{name = 'Restart', state = nil, seq = 0, oseq = 1418242336.9697},{name = 'Restart2', state = nil, seq = 0, oseq = 1418242336.9699},{name = 'On', state = nil, seq = 0, oseq = 1418242336.97},{name = 'Off', state = nil, seq = 0, oseq = 1418242336.9701},}" }, { "name": "Red Zone", "altid": "e2", "id": 17, "category": 3, "subcategory": 0, "room": 2, "parent": 15, "status": "0", "kwh": "0.0000", "watts": "0", "state": -1, "comment": "" }, { "name": "SM_Home", "altid": "", "id": 100, "category": 0, "subcategory": -1, "room": 0, "parent": 0, "text1": "SM_Home", "text2": "SM_Away", "status": "0" }, { "name": "SM_Sleeping", "altid": "", "id": 101, "category": 0, "subcategory": -1, "room": 0, "parent": 0, "text1": "SM_Sleeping", "text2": "SM_Awake", "status": "0" }, { "name": "Small TV", "altid": "e1", "id": 16, "category": 3, "subcategory": 0, "room": 2, "parent": 15, "status": "0", "kwh": "0.2870", "watts": "0", "state": -1, "comment": "" }, { "name": "Stairs Lights", "altid": "29", "id": 111, "category": 2, "subcategory": 0, "room": 2, "parent": 1, "level": "100", "status": "1", "state": -1, "comment": "" }, { "name": "Stairs Slave switch", "altid": "30", "id": 110, "category": 14, "subcategory": 0, "room": 2, "parent": 1, "status": "0", "state": -1, "comment": "" }, { "name": "Storage Unit Flood Sensor", "altid": "4", "id": 33, "category": 4, "subcategory": 3, "room": 4, "parent": 1, "armed": "1", "tripped": "0", "lasttrip": "1428403110", "batterylevel": "100", "status": "0", "state": -1, "comment": "" }, { "name": "Thermostat", "altid": "7", "id": 7, "category": 5, "subcategory": 1, "room": 0, "parent": 1, "fanmode": "ContinuousOn", "heatsp": "64", "status": "1", "coolsp": "69", "temperature": "69", "hvacstate": "Cooling", "mode": "AutoChangeOver", "state": -1, "comment": "" }, { "name": "Today's High Temp", "altid": "Weather-Forecast-HighTemperature", "id": 70, "category": 17, "subcategory": 0, "room": 0, "parent": 67, "temperature": "84" }, { "name": "Today's Low Temp", "altid": "Weather-Forecast-LowTemperature", "id": 69, "category": 17, "subcategory": 0, "room": 0, "parent": 67, "temperature": "63" }, { "name": "TP_Home", "altid": "", "id": 76, "category": 0, "subcategory": -1, "room": 0, "parent": 0, "text1": "TP_Home", "text2": "TP_Away", "status": "1" }, { "name": "TP_Sleeping", "altid": "", "id": 77, "category": 0, "subcategory": -1, "room": 0, "parent": 0, "text1": "TP_Sleeping", "text2": "TP_Awake", "status": "0" }, { "name": "VeraAlerts", "altid": "", "id": 27, "category": 0, "subcategory": -1, "room": 0, "parent": 0, "LastRecipient": "Vera-Alerts-Nexus", "LastMsgSent": "11:53:28 Wed Aug 26", "state": -1, "comment": "" }, { "name": "Webcam Dropbox Uploader", "altid": "", "id": 106, "category": 0, "subcategory": -1, "room": 0, "parent": 0, "state": -1, "comment": "" }, { "name": "Window Lights", "altid": "18", "id": 40, "category": 2, "subcategory": 0, "room": 1, "parent": 1, "level": "30", "status": "1", "state": -1, "comment": "" }, { "name": "World Weather", "altid": "", "id": 67, "category": 0, "subcategory": -1, "room": 0, "parent": 0, "providerkey": "f9c180df52f566e3", "providername": "WUI (Weather Underground)", "providerurl": "http:\/\/www.wunderground.com", "conditiongroup": "partlycloudy", "f1.lowtemp": "61", "f1.windspeed": "10", "f1.winddirection": "WNW", "f2.condition": "Clear", "f2.conditiongroup": "clear", "f2.windspeed": "10", "f3.condition": "Clear", "f3.conditiongroup": "clear", "f3.windspeed": "10", "f3.winddirection": "WSW", "f0.windspeed": "10", "f0.qpfday": "0", "f0.qpfnight": "0", "f0.snowday": "0", "f0.snownight": "0", "f": "3", "a": "0", "a1.type": "", "a1.desc": "", "a1.start": "", "a1.end": "", "a1.msg": "", "f1.condition": "Partly Cloudy", "f1.conditiongroup": "partlycloudy", "f0.condition": "Partly Cloudy", "f0.conditiongroup": "partlycloudy", "condition": "Scattered Clouds", "f2.winddirection": "WNW", "f0.hightemp": "84", "winddirection": "SSW", "windgust": "4.9", "f0.pop": "0", "f1.hightemp": "80", "f1.winddegrees": "290", "f2.hightemp": "79", "f2.lowtemp": "62", "f2.winddegrees": "285", "f3.hightemp": "84", "f3.lowtemp": "66", "f3.winddegrees": "242", "f0.lowtemp": "63", "f0.winddirection": "WNW", "f0.winddegrees": "286", "windcondition": "From the SSW at 2.9 MPH Gusting to 4.9 MPH", "winddegrees": "197", "windspeed": "2.9", "solar": "670", "uv": "4" } ], "categories": [ { "name": "Dimmable Light", "id": 2 }, { "name": "Switch", "id": 3 }, { "name": "Sensor", "id": 4 }, { "name": "Thermostat", "id": 5 }, { "name": "Camera", "id": 6 }, { "name": "Door lock", "id": 7 }, { "name": "Scene Controller", "id": 14 }, { "name": "Humidity Sensor", "id": 16 }, { "name": "Temperature Sensor", "id": 17 }, { "name": "Light Sensor", "id": 18 } ], "ir": 0, "irtx": "", "loadtime": 1440602264, "dataversion": 602269188, "state": -1, "comment": "" }

Link to comment
Share on other sites

chef

My god your smart home is impressive!! Let me get back to you.

 

Have you added any new HA devices in the last couple days?

 

Thanks for posting.

Edited by chef
  • Like 1
Link to comment
Share on other sites

My god your smart home is impressive!! Let me get back to you.

 

Have you added any new HA devices in the last couple days?

 

Thanks for posting.

 

Haha thanks - it has been building for about 2 years now. No I haven't added anything new since I started having problems.

Link to comment
Share on other sites

chef

Okay so I found that file, uninstalled the plugin and then deleted the file. I reinstalled the plugin and it still won't find my Vera (I keep getting the page that tells me to refresh but refreshing doesn't change anything), but the config file seems to have all the correct data - see here:

https://dl.dropboxusercontent.com/u/472290/Vera%20Smart%20Home%20Automation.xml

 

let me know what else i can try to fix it. Thanks.

 

 

You are using Ui5 which is harder to fix because when I wrote the plugin I could only test on Ui7.

So the Ui5 code was completely written based on testers who still used that version of the Interface.

 

The JSON you posted returns no errors, I had to check it against my VeraDto Classes and make sure they weren't missing anything which they aren't.

 

The last thing (if you wouldn't mind) is to please post the returned info from this link:

 

http://sta1.mios.com/locator_json.php

 

This should return ip device info.  And finally Please tell me what this link return:

 

https://vera-us-oem-authd.mios.com/locator/locator/locator

 

Sorry for the trial and error here, I am just wondering if MicasaVerde changed how the API looks up information on their servers.

  • Like 1
Link to comment
Share on other sites

You are using Ui5 which is harder to fix because when I wrote the plugin I could only test on Ui7.

So the Ui5 code was completely written based on testers who still used that version of the Interface.

 

The JSON you posted returns no errors, I had to check it against my VeraDto Classes and make sure they weren't missing anything which they aren't.

 

The last thing (if you wouldn't mind) is to please post the returned info from this link:

 

http://sta1.mios.com/locator_json.php

 

This should return ip device info.  And finally Please tell me what this link return:

 

https://vera-us-oem-authd.mios.com/locator/locator/locator

 

Sorry for the trial and error here, I am just wondering if MicasaVerde changed how the API looks up information on their servers.

 

First link:

{"units":[{"serialNumber":"30008696","FirmwareVersion":"1.5.622","name":null,"ipAddress":"192.168.1.168","users":["tprendergast"],"active_server":"fwd4.mios.com","forwardServers":[{"hostName":"fwd4.mios.com","primary":true},{"hostName":"fwd3.mios.com","primary":false}]}]}

 

Second link:

{}

 

No need to apologize, thanks for the plugin - it was working great for me for a little while. I'll try to help troubleshoot however I can.

Link to comment
Share on other sites

chef

Yes changing scene names might have caused an issue.

 

If you had emby devices attached to scenes, and then they tried to run, it would throw an error.

 

But, if the plugin is not finding your Vera unit at all now, it is my code.

 

Now we know the URLs are reporting proper info, I will re check my code to see where I made an error.

 

I know where it would be.

  • Like 1
Link to comment
Share on other sites

chef

I fixed the list of devices, it  wouldn't update properly.

 

For instance, if you turned your Xbox One on, it would add itself to the Device list. But, if you turned it off, it would remain part of the list.

 

I noticed my list of devices was getting really long with repetitive device names.

 

It doesn't do that any more.

 

 

 

Still can't figure out what is happening with tp's issue.

 

All the code I have checked should populate and show a list in the plugin configuration.

 

My head actually hurts from reading so much JQuery Mobile, lol!

 

 

 

@@tp546 did you happen to try the plugin configuration in a different browser? Perhaps you updated to Windows 10 Edge? 

 

I'm kinda grasping at straws here?

  • Like 1
Link to comment
Share on other sites

Xzener

Now I am unable to get a list of devices or add new. I constantly have the "If you see this message...". Refreshing the browser does nothing. Although, turning on my Xbox still sends the command correcly.

  • Like 1
Link to comment
Share on other sites

chef

Yep! I see a mistake.

 

Try the latest release and see if it fixes it for you.

Edited by chef
  • Like 1
Link to comment
Share on other sites

I fixed the list of devices, it  wouldn't update properly.

 

For instance, if you turned your Xbox One on, it would add itself to the Device list. But, if you turned it off, it would remain part of the list.

 

I noticed my list of devices was getting really long with repetitive device names.

 

It doesn't do that any more.

 

 

 

Still can't figure out what is happening with tp's issue.

 

All the code I have checked should populate and show a list in the plugin configuration.

 

My head actually hurts from reading so much JQuery Mobile, lol!

 

 

 

@@tp546 did you happen to try the plugin configuration in a different browser? Perhaps you updated to Windows 10 Edge? 

 

I'm kinda grasping at straws here?

 

nope, neither of those. running win 7 64 bit

  • Like 1
Link to comment
Share on other sites

Yep! I see a mistake.

 

Try the latest release and see if it fixes it for you.

 

should it be working for me too or are you still working on it?

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...