Distance+Humidity, Vera Registration Issue
-
I have mashed code together to run a temp/humidity sensor as well as distance sensor off of the same Arduino. I have the unit functioning properly, where I am getting temp, distance and humidity readings off of the serial monitor.
I have included the device in my vera, and 3 devices are recognized.
- Temp
- Humidity
- "Arduino Node 1"
The first 2 are correct, and are reporting correctly. The last one should be distance, but it is not, and is not reporting correctly. Below is the code, as well as a snap of the vera interface. Any assistance would be appreciated!
I think the issue is in how I modified the void setup, adding two gw.sendSketchInfo? If I just add the native distance sensor code, vera reports the correct distance device. However, it still reports that "Arduino Node 1" device.
-
You are presenting two sensors as child number 0
gw.sendSensorPresentation(CHILD_ID_HUM, S_HUM);
-
Quick fix. Thanks so much for the quick response! Stupid mistake.
-
I've been doing the same stuff, creating multi-sensors, making mistakes like that are part of it.
I'll post some when I'm back.
Fun stuff.
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
NODs stop responding, but ping works.
Troubleshooting • 20 days ago • Marcin 20 days ago -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Ghost Child
Troubleshooting • 13 days ago • FcNanoLed 10 days ago