Vera Plugin UI7 / DallasTemperatureSensor Sketch



  • Hi,

    I'm new to mySensors, and loving it. I have successfully built an Ethernet Gateway for my Vera Edge, and successful installed the associated plugin. I've also successfully built a motion sensor, which is working very well with Vera via the gateway.

    I do have a couple of issues I could really do with some help :

    1. I've built a temperature sensor using a Dallas Temperature Sensor. This works fine using a non mySensors sketch, and reports the temperature so I know the hardware is good. When I upload the mySensors sketch dated 25th May 2015, it does not appear to assign the node ID correctly. To me it appears to have been assigned the same node ID as the ethernet gateway (being 0). See below.

    sensor started, id 0
    send: 0-0-0-0 s=255,c=0,t=17,pt=0,l=5,st=ok:1.4.1
    send: 0-0-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
    read: 1-1-0 s=1,c=1,t=16,pt=0,l=1:1
    read: 1-1-0 s=1,c=1,t=16,pt=0,l=1:1
    send: 0-0-0-0 s=255,c=3,t=11,pt=0,l=18,st=ok:Temperature Sensor
    send: 0-0-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.0
    send: 0-0-0-0 s=0,c=0,t=6,pt=0,l=5,st=ok:1.4.1
    send: 0-0-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:75.4
    read: 1-1-0 s=1,c=1,t=16,pt=0,l=1:1
    send: 0-0-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:75.3
    send: 0-0-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:75.2
    send: 0-0-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:75.0
    send: 0-0-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:74.9
    send: 0-0-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:75.0
    send: 0-0-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:74.9
    send: 0-0-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:74.8

    Has anybody else experienced this with the mySensors Dallas Temperature Sensor sketch ? Would be interested to know how you resolved.

    1. The second issue is with my ethernet gateway. I've installed the latest Vera plugin (1.4) and the latest MySensors Arduino library (1.4.1) all from the mySensors website. I've also confirmed these are the same as the version on github. What I'm seeing is a version mismatch warning repeatedly on the ethernet gateway. From the start I've installed capacitors on all radio modules, and am using external power supplies to be safe power wise. The gateway appears to be working fine with the motion sensor, so it doesn't appear to be a big issue, however I don't like leaving things untidy - may be I'm a little OCD 🙂 Any ideas how I can resolve this version mismatch.

    0;0;3;0;14;Gateway startup complete.
    0;0;3;0;9;read: 1-1-0 s=1,c=1,t=16,pt=0,l=1:1
    1;1;1;0;16;1
    0;0;3;0;9;read: 48-48-48 s=16,c=0,t=48,pt=1,l=6:48
    0;0;3;0;9;version mismatch
    0;0;3;0;9;read: 48-48-48 s=16,c=0,t=48,pt=1,l=6:48
    0;0;3;0;9;version mismatch
    0;0;3;0;9;read: 48-48-48 s=16,c=0,t=48,pt=1,l=6:48
    0;0;3;0;9;version mismatch
    0;0;3;0;9;read: 48-48-48 s=16,c=0,t=48,pt=1,l=6:48
    0;0;3;0;9;version mismatch

    Thanks in advance everybody for helping me resolve these items. I'm loving mySensors and Arduino. I'm already planning my next few projects.



  • @stevesmith

    Did you add the sensor to vera? Was there any problems and what did Vera name the node? I have had to delete nodes and re- add them before, you could try that.

    I use Vera UI5 with serial GW so I can't help with your Ethernet GW mismatch.



  • @Dwalt

    Hi, When I added the device to the Vera it is registered as node 0:0 and appears as a temperature sensor. As you suggest, I've deleted the device, and included for a second time, with the same results. To be safe, I EPROM cleared both the gateway and the sensor, and re-uploaded the sketches to the devices with the same results when including again.

    Hopefully somebody can point me in the right direction.

    Thanks
    Steve


Log in to reply
 

Suggested Topics

  • 3
  • 1
  • 2
  • 3
  • 2
  • 2

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts