So I just started playing around with Mysensors but I can’t for the life of me get the plugin to work correctly. I’ve built a gateway device and confirmed its on the network and listening on port 5003.
I’m running a Vera Plus UI7 1.7.2608
I have downloaded the MySensors plug in for Vera UI7 from here:
I have uploaded the two files:
D_Arduino1.json
D_Arduino1.xml
To the Vera under Apps → Develop Apps → Luup Files
I then click on “create device” under the Develop Apps section and enter D_Arduino1.xml in the “Upnp Device Filename” field and 192.168.0.20:5003 (the ip of my ESP) in the IP field and click Create Device.
I see the “MySensors Plugin” device show up under Devcies and it says “Connected to:” (nothing). If i click on the device and go into settings everything is blank:
Connected to:
Plugin Version:
Lib Version:
If i click on the “start” button I get a message right away “ERROR: Invalid Service”. When I look at the luup logs on the Vera I see the following:
Alright, I made some progress. After uploading ALL of the files to the Vera Plus I can now connect to the gateway. So I went ahead and added code to my gateway which is connected to a DHT22 Temperature and Humidity sensor. From what I’ve read I should just click on “start” to begin the inclusion process and the plugin should detect the node and create the devices in Vera? That is not happening.
I’ve installed MYSController and connected it to the gw and I can see data coming in (see attached screen shot). So this has me believing that my gw/sensor node is working correctly.
In the Vera logs I can see it receiving the data:
50 03/17/17 20:55:19.974 luup_log:34: Arduino: Set variable: 0;1;1;0;0;26.0 <0x739d1520>
50 03/17/17 20:55:19.986 luup_log:34: Arduino: Set variable: 0;0;1;0;1;23.5 <0x739d1520>
But I just don’t understand how I get an actual device to show up. Any thoughts?
you have to powerfail the sensor… you can’t just turn it on and leave it and then start inclusion.
verify vera connects to gateway.
press start on inclusion.
apply power to sensor… you should then see them detected (sometimes takes a minute)
once you see them start showing up, let it do it’s thing. it takes a minute to add the devices in vera
[quote=“mvader, post:11, topic:195846”]you have to powerfail the sensor… you can’t just turn it on and leave it and then start inclusion.
verify vera connects to gateway.
press start on inclusion.
apply power to sensor… you should then see them detected (sometimes takes a minute)
once you see them start showing up, let it do it’s thing. it takes a minute to add the devices in vera[/quote]
The issue I have is my GW is also the sensor, which from what I’ve read is doable, but not what most people are doing.
Can you capture a longer section of log which shows the plugin sending an include command, and the subsequent gateway response when you cycle the power on the sensor?
1 Like
Best Home Automation shopping experience. Shop at Ezlo!