proddy
@proddy
Best posts made by proddy
-
RE: ESP8266 questions before buying
I built all my sensors on NodeMCUs only because I had a large batch of them. My sensors use HLK to step down from AC mains current to 5V into Vin which I've had no problems with so far. Comms is via MQTT to Mosquito running on a Raspberry Pi alongside Home Assistant.
I'm experimenting now with a 600mAH 3,7V Lipo battery, charger and boost converter with deep-sleep just to see how far I can go.
Having said that if I would do it all over again I would go the Wemos/NRF way!
-
RE: HA 0.42.2 'Sensor has no attribute _battery_level' error
Yes, I'm using the persistence & pickle file. The PR fixes the problem. Just tested with latest HA dev branch. Thanks for the quick answer Martin.
Latest posts made by proddy
-
RE: MySensors booth at Eindhoven Maker Faire!
yup, I'll definitively be there.
-
RE: HA 0.42.2 'Sensor has no attribute _battery_level' error
Yes, I'm using the persistence & pickle file. The PR fixes the problem. Just tested with latest HA dev branch. Thanks for the quick answer Martin.
-
HA 0.42.2 'Sensor has no attribute _battery_level' error
After the upgrade to 0.42.2 all my sensors are being rejected by HA because of the error:
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/mysensors.py", line 391, in device_state_attributes ATTR_BATTERY_LEVEL: node.battery_level, File "/home/homeassistant/.homeassistant/deps/mysensors/__init__.py", line 420, in battery_level return self._battery_level AttributeError: 'Sensor' object has no attribute '_battery_level'`
I haven't tried rolling back to 0.41 or debugging the code yet. Wanted to throw it out there to see if anyone else has experienced similar behaviour?
-
RE: 💬 In Wall AC/DC Pcb (with Relay) for MySensors (SMD)
and building it is 99% of the fun !
-
RE: ESP8266 questions before buying
I built all my sensors on NodeMCUs only because I had a large batch of them. My sensors use HLK to step down from AC mains current to 5V into Vin which I've had no problems with so far. Comms is via MQTT to Mosquito running on a Raspberry Pi alongside Home Assistant.
I'm experimenting now with a 600mAH 3,7V Lipo battery, charger and boost converter with deep-sleep just to see how far I can go.
Having said that if I would do it all over again I would go the Wemos/NRF way!
-
RE: Receiving only UTC time from Home Assistant controller
@martinhjelmare is this something I can help contribute too?
-
Receiving only UTC time from Home Assistant controller
I'm not sure if this is a MySensors or Home Assistant issue, but using the example at https://www.mysensors.org/build/display to read the time from my HA controller, it always pulls the UTC time where in the MySensors library documentation here it states that
void receiveTime(unsigned long ts);
returns ts "Adjusted for timezone by controller."I have the time_zone parameter correctly configured in my Home Assistant's configuration.yaml file.
As a workaround I have the sensor node convert the time using this piece of code:
#include <Timezone.h> #include <TimeLib.h> TimeChangeRule CEST = { "CEST", Last, Sun, Mar, 12, 120 }; // Central European Summer Time, 2 hrs offset TimeChangeRule CET = { "CET ", Last, Sun, Nov, 5, 60 }; // Central European Standard Time, 1 hr offset Timezone CE(CEST, CET); : : TimeChangeRule * tcr; time_t t = CE.toLocal(controllerTime, &tcr); RTC.set(t);
But it would good to know if its a bug or I'm just doing something incorrect?
-
RE: Nodemcu 0.9 + MQTT gateway + TEMP + Motion Sensor
I have a similar setup: MySensor nodes running on NodeMcu/ESP8266 and each using an MQTT client gateway to send sensor status directly to my MQTT broker running on a Raspberry pi alongside Home Assistant. And I also had to replace sleep() with counters in the loop() code. Those error codes are described here.
I spent many hours learning and configuring HA so sticking to that for now. Their community, like MySensors are very helpful.
-
RE: 💬 Building a MQTT Gateway
Not sure if this helps but for debugging I use MQTT spy (https://github.com/eclipse/paho.mqtt-spy/wiki) for tracking the comms