Navigation

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

    Best posts made by Dave Myers

    • Template sketch for flexible use with many different sensor types

      I've created a companion Arduino sketch / library to go along with the MySensors library. The companion library is designed with flexibility and inheritance to allow easy configuration of attached sensors and actuators. I.e. just tell the library you want to add a gpio output, an analog input, a PWM output, ... and the library handles all the necessary code. This makes the base Arduino sketch much simpler and allows for easier configuration and programming of modules with different and varying features.

      I'm midway through development and have some more features to add, but I wanted to solicit some feedback to see if there were general ideas or concepts that I am missing. Note: I'm not a professional programmer and am learning some of this as I go!

      The software is specifically designed for (and only tested with) the Home Assistant controller - though I hope other controller software is compatible.

      Github here: https://github.com/brahmafear/MySensors_Node. Best starting point is the Arduino sketch listed in the examples folder.

      Cheers.

      posted in Development
      Dave Myers
      Dave Myers
    • RE: isMetric incorrect on new 2.3.2 serial gateway with HomeAssistant

      Opened an issue on HomeAssistant's github as this is sounding more and more like a HomeAssistant issue. If anyone experiencing same issue, perhaps you can bump that issue and add more info.

      https://github.com/home-assistant/core/issues/58475

      posted in Home Assistant
      Dave Myers
      Dave Myers
    • RE: HASSIO Raspberry Pi + RF-NANO. Am I doing it right?

      Seconding @Nightbodom -- Can't currently use RPi GPIO connection for NRF radio when running HassIO. You must use a serial, ethernet, or mqtt MySensors gateway.

      And if you are going to need new hardware to set this up - you might want to look at ESP8266/32 as your gateway device as it has wifi/ethernet builtin.

      posted in Troubleshooting
      Dave Myers
      Dave Myers
    • isMetric incorrect on new 2.3.2 serial gateway with HomeAssistant

      Ethernet gateway running 2.2 and serial gateway running 2.3.2. isMetric isn't set properly (HomeAssistant set for imperial; nodes connected to new gateway all receive "true" referencing getConfig().isMetric so all temp measurements are reported using celsius values when HomeAssistant expecting fahrenheit.)

      This might have started happening when I moved from YAML config to Integration in HomeAssistant.

      HomeAssistant is latest version.
      Controller (Nano) code is just the basic serial gateway code.

      Is there a way on the gateway to override the isMetric setting received from the controller? I know that I can alter the code on each sensor to ignore, but I'd like to change this just on gateway so as not to have to recompile and upload new code to each sensor node.

      posted in Home Assistant
      Dave Myers
      Dave Myers
    • RE: isMetric incorrect on new 2.3.2 serial gateway with HomeAssistant

      Fix mysensors metric/non-metric gateway (@MartinHjelmare - #58476) (mysensors docs)

      Issue should be fixed in HomeAssistant 2021.11.0.

      posted in Home Assistant
      Dave Myers
      Dave Myers