2020-03-17, 10:50 AM
It is just my suspicion there is something wrong with mDNS in combination with extra WiFi over USB having something to do with these problems. After I built a SensESP it didn't connect at all until I ran:
# cd /usr/lib/node_modules/signalk-server
# sudo npm install --unsafe-perm mdns
And it is completely stable now connecting over the ext. USB-wifi while the SigKSens still looses connection now and then. It also does not connect until I have restarted signalk-server one to three times.
But your problem seems different. You do get system-data from the ESP. So there must be something with the 1wire bus. Do you have the 4k7 resistor between data and 3.3v? And you are using the 3.3v as supply? Connected to the correct pin? D7 in my case but I have seen somewhere mentioning D5.
May I ask what you are using for voltmeter input? Just a resistor divider? How about calibration? In software?
Battery-monitoring, at least voltage, is next on my list.
# cd /usr/lib/node_modules/signalk-server
# sudo npm install --unsafe-perm mdns
And it is completely stable now connecting over the ext. USB-wifi while the SigKSens still looses connection now and then. It also does not connect until I have restarted signalk-server one to three times.
But your problem seems different. You do get system-data from the ESP. So there must be something with the 1wire bus. Do you have the 4k7 resistor between data and 3.3v? And you are using the 3.3v as supply? Connected to the correct pin? D7 in my case but I have seen somewhere mentioning D5.
May I ask what you are using for voltmeter input? Just a resistor divider? How about calibration? In software?
Battery-monitoring, at least voltage, is next on my list.