I have a Raspberry Pi 3 running Jessie with fresh installation of Evok. I am also using Python 3.4. I received the error, "TypeError: 'NoneType' object is not subscriptable." The workaround Tomas referred to on Nov 25, 2016, worked, but I first had to install jsonrpclib-pelix, a version of jsonrpclib updated for Python 3. The standard jsonrpclib does not work with Python 3.
Latest posts made by chuckhinds
-
RE: Error using "jsonrpclib"
-
UniPi Control Panel does not look for lost value
The control panel does not look at "lost" value in message. If the temperature sensor signal is not being received on the 1-wire bus (ex. gets disconnected), the value of "lost:" is set to true and value of "value:" is set to the last known temperature. So if you unplug the sensor or it gets damaged the temperature on the control panel doesn't change. Adding the check for msg.lost on line 3 below will correct:
else if (dev_type == 'temp') { name = "Temperature Sensor " + msg.typ + " - " + circuit; if ((msg.value == null) | (msg.lost)) { value = "Not connected"; } else { value = (msg.value * (9.0 / 5.0) + 32).toFixed(1); // value = msg.value.toFixed(1); unit = "°F"; }
-
RE: Humidity sensor for unipi that can work with evok or owfs ?
Still looking for a 1-wire outdoor humidity/temperature sensor. I tried to order the UNICA sensor, but the web site says they are all out of stock and I don't see an option for the coated board. Any suggestions? -Thanks
-
RE: A/D 1-wire board
Does anybody know of a 1-wire A/D board to hook to UniPi? Using both AIs now. -Thanks
-
A/D 1-wire board
Does anybody know of a 1-wire A/D board to hook to UniPi? Using both AIs now. -Thanks
-
RE: 24V AC Input
I thought of bridge rectifier, but I would need 8 of them. I found a gang of eight 24vac relays about the size of the ones on the UniPi, but I didn't think that was elegant and power efficient.
-
RE: 24V AC Input
What is the easiest and most reliable way for the UniPi to accept 24VAC digital input besides using a relay? -Thanks
-
24V AC Input
What is the easiest and most reliable way for the UniPi to accept 24VAC digital input besides using a relay? -Thanks