Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. proddy
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    proddy

    @proddy

    4
    Reputation
    16
    Posts
    441
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    proddy Follow

    Best posts made by proddy

    • RE: Receiving only UTC time from Home Assistant controller

      @martinhjelmare I made a PR. https://github.com/theolind/pymysensors/pull/80

      posted in Home Assistant
      proddy
      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!

      posted in Hardware
      proddy
      proddy
    • 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.

      posted in Home Assistant
      proddy
      proddy

    Latest posts made by proddy

    • RE: MySensors booth at Eindhoven Maker Faire!

      yup, I'll definitively be there.

      posted in Announcements
      proddy
      proddy
    • 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.

      posted in Home Assistant
      proddy
      proddy
    • 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?

      posted in Home Assistant
      proddy
      proddy
    • RE: 💬 In Wall AC/DC Pcb (with Relay) for MySensors (SMD)

      and building it is 99% of the fun !

      posted in OpenHardware.io
      proddy
      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!

      posted in Hardware
      proddy
      proddy
    • RE: Receiving only UTC time from Home Assistant controller

      @martinhjelmare I made a PR. https://github.com/theolind/pymysensors/pull/80

      posted in Home Assistant
      proddy
      proddy
    • RE: Receiving only UTC time from Home Assistant controller

      @martinhjelmare is this something I can help contribute too?

      posted in Home Assistant
      proddy
      proddy
    • 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?

      posted in Home Assistant
      proddy
      proddy
    • 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.

      posted in Troubleshooting
      proddy
      proddy
    • 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

      posted in Announcements
      proddy
      proddy