Navigation

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

    zookazim

    @zookazim

    1
    Reputation
    5
    Posts
    184
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    zookazim Follow

    Best posts made by zookazim

    • openHAB 2.2 binding

      MySensors values not showing in openHAB

      Hi all, newbie here - please could I ask you all to have a look at my configuration and let me know where I am going wrong on my first MySensors DHT node. I'm not able to view temperature or humidity from the node the standard DHT sketch here; https://www.mysensors.org/build/humidity.

      I am using an ethernet gateway running on my Raspberry Pi running Openhabian - all installed well and gateway seems to be working from the logs below and I can see it's receiving the temperature and humidity values as expected. Problem is there are no values showing on the Paper UI control page or my sitemap (screen shots below). I have added a binding to openHAB for my solar panel inverter and that is receiving and displaying values ok.

      Can anyone spot my mistake? Any suggestion very welcome ...

      0_1554022274537_paper_ui_things.png

      1_1554022274537_sitemap.png

      Here is my configuration;

      $ lsb_release -a
      No LSB modules are available.
      Distributor ID: Raspbian
      Description:    Raspbian GNU/Linux 9.6 (stretch)
      Release:        9.6
      Codename:       stretch
      
      
      $ cat /home/openhabian/MySensors/README.md
      MySensors Library v2.3.1
      ...
      
      
      $ tail -f /var/log/openhab2/openhab.log
      2019-03-30 11:40:11.637 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;0;1;0;1;35.4
      2019-03-30 11:41:12.179 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;0;25.4
      2019-03-30 11:41:12.303 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;0;1;0;1;35.0
      2019-03-30 11:42:12.731 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;0;1;0;1;34.7
      2019-03-30 11:43:13.295 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;0;1;0;1;34.6
      2019-03-30 11:44:13.845 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;0;25.5
      2019-03-30 11:44:13.859 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;0;1;0;1;34.4
      2019-03-30 11:45:14.419 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;0;25.6
      2019-03-30 11:45:14.433 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;0;1;0;1;34.6
      2019-03-30 11:46:14.999 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;0;25.7
      2019-03-30 11:47:15.567 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;0;25.8
      2019-03-30 11:47:15.601 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;0;1;0;1;34.2
      
      
      $ cat /etc/openhab2/things/mysensors.things
      
      
      // MySensors Ethernet Bridge
      Bridge mysensors:bridge-eth:gateway [ ipAddress="127.0.0.1", tcpPort=5003, sendDelay=200 , startupCheckEnabled=false ] {
              humidity    hum01    [ nodeId=101, childId=0 ]
              temperature temp01   [ nodeId=101, childId=1 ]
        }
      
      // Solar Edge:
      Thing  solaredge:generic:se2200 [ tokenOrApiKey="********", solarId="******"]
      
      
      
      $ cat /etc/openhab2/items/mysensors.items
      
      // MySensors
      Number          hum01                    "Humidity"    { channel="mysensors:humidity:gateway:hum01:hum" }
      Number          temp01                   "Temperature" { channel="mysensors:temperature:gateway:temp01:temp" }
      
      // Solar Edge
      Number:Power    SE2200_Live_Production   "PV Production [%.2f %unit%]"    {channel="solaredge:generic:se2200:live#production"}
      Number:Energy   SE2200_Day_Production    "Day Production [%.2f kWh]"      {channel="solaredge:generic:se2200:aggregate_day#production"}
      Number:Energy   SE2200_Month_Production  "Month production [%.2f kWh]"    {channel="solaredge:generic:se2200:aggregate_month#production"}
      
      //Demo
      Switch          DEMOSW                   "Demo Switch"
      
      
      $ cat /etc/openhab2/sitemaps/home.sitemap
      
      sitemap home label="Main Menu"
      {
              Frame label="Demo"
              {
                  Switch item=DEMOSW
              }
      
              Frame label="Sensors"
              {
                  Text item=hum01
                  Text item=temp01
              }
      
              Frame label="SolarEdge"
              {
                  Text item=SE2200_Live_Production
                  Text item=SE2200_Day_Production
                  Text item=SE2200_Month_Production
              }
      }
      
      posted in OpenHAB
      zookazim
      zookazim

    Latest posts made by zookazim

    • RE: [SOLVED] MySensors Raspberry Pi Gateway + Domotics Controller

      @Eme Thanks for letting us know how you solved the problem - helps us all to learn. I've recently upgraded my Raspberry Pi 1b to 4 and just got it working as an ethernet gateway with standard NRF24 radio. I'm curious about a few things as I've been trying to also use a PA LNA radio but without success;

      • Any reason you have set up your gateway as serial and not ethernet?

      • What did you mean by "Don't rely on GPIO pins to power it, use a regulator". By regulator did you mean the capacitor, did you use another regulator component - I can't see from your image

      • Did you change the power setting of you configuration file MyConfig.h -lowering the power to "RF24_PA_LOW'?

      posted in Domoticz
      zookazim
      zookazim
    • RE: Never been able to get MySensors to work

      @iamtheghost I feel your pain brother. I am a newbie to MySensors and although got up and running relatively quickly with openHAB and an old Raspberry Pi 1 controller/gateway - I still spend days trying to sort out radio issues. At the moment it's replacing a standard nrf24L01 with the pa+lna version ... been at it for a couple of days without successful comms with gateway.

      Two years trying ... I salute you. Keep holding on to the fact that when it works it will be so satisfying 🙂

      posted in OpenHAB
      zookazim
      zookazim
    • RE: Landis & gyr infrared energy meter reader

      @sullivan-buchs - I've had a look at github but can't find an explanation for how it works. As a newbie to mysensors can you explain how you 'read' the meter?

      posted in My Project
      zookazim
      zookazim
    • RE: openHAB 2.2 binding

      @djal Beautiful! Amazing! It works!

      I've been struggling with this issue for over two weeks ... I guess I'll have to learn about the assignment of node numbers in more detail.

      Thanks @djal much appreciated.

      posted in OpenHAB
      zookazim
      zookazim
    • openHAB 2.2 binding

      MySensors values not showing in openHAB

      Hi all, newbie here - please could I ask you all to have a look at my configuration and let me know where I am going wrong on my first MySensors DHT node. I'm not able to view temperature or humidity from the node the standard DHT sketch here; https://www.mysensors.org/build/humidity.

      I am using an ethernet gateway running on my Raspberry Pi running Openhabian - all installed well and gateway seems to be working from the logs below and I can see it's receiving the temperature and humidity values as expected. Problem is there are no values showing on the Paper UI control page or my sitemap (screen shots below). I have added a binding to openHAB for my solar panel inverter and that is receiving and displaying values ok.

      Can anyone spot my mistake? Any suggestion very welcome ...

      0_1554022274537_paper_ui_things.png

      1_1554022274537_sitemap.png

      Here is my configuration;

      $ lsb_release -a
      No LSB modules are available.
      Distributor ID: Raspbian
      Description:    Raspbian GNU/Linux 9.6 (stretch)
      Release:        9.6
      Codename:       stretch
      
      
      $ cat /home/openhabian/MySensors/README.md
      MySensors Library v2.3.1
      ...
      
      
      $ tail -f /var/log/openhab2/openhab.log
      2019-03-30 11:40:11.637 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;0;1;0;1;35.4
      2019-03-30 11:41:12.179 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;0;25.4
      2019-03-30 11:41:12.303 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;0;1;0;1;35.0
      2019-03-30 11:42:12.731 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;0;1;0;1;34.7
      2019-03-30 11:43:13.295 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;0;1;0;1;34.6
      2019-03-30 11:44:13.845 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;0;25.5
      2019-03-30 11:44:13.859 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;0;1;0;1;34.4
      2019-03-30 11:45:14.419 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;0;25.6
      2019-03-30 11:45:14.433 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;0;1;0;1;34.6
      2019-03-30 11:46:14.999 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;0;25.7
      2019-03-30 11:47:15.567 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;0;25.8
      2019-03-30 11:47:15.601 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;0;1;0;1;34.2
      
      
      $ cat /etc/openhab2/things/mysensors.things
      
      
      // MySensors Ethernet Bridge
      Bridge mysensors:bridge-eth:gateway [ ipAddress="127.0.0.1", tcpPort=5003, sendDelay=200 , startupCheckEnabled=false ] {
              humidity    hum01    [ nodeId=101, childId=0 ]
              temperature temp01   [ nodeId=101, childId=1 ]
        }
      
      // Solar Edge:
      Thing  solaredge:generic:se2200 [ tokenOrApiKey="********", solarId="******"]
      
      
      
      $ cat /etc/openhab2/items/mysensors.items
      
      // MySensors
      Number          hum01                    "Humidity"    { channel="mysensors:humidity:gateway:hum01:hum" }
      Number          temp01                   "Temperature" { channel="mysensors:temperature:gateway:temp01:temp" }
      
      // Solar Edge
      Number:Power    SE2200_Live_Production   "PV Production [%.2f %unit%]"    {channel="solaredge:generic:se2200:live#production"}
      Number:Energy   SE2200_Day_Production    "Day Production [%.2f kWh]"      {channel="solaredge:generic:se2200:aggregate_day#production"}
      Number:Energy   SE2200_Month_Production  "Month production [%.2f kWh]"    {channel="solaredge:generic:se2200:aggregate_month#production"}
      
      //Demo
      Switch          DEMOSW                   "Demo Switch"
      
      
      $ cat /etc/openhab2/sitemaps/home.sitemap
      
      sitemap home label="Main Menu"
      {
              Frame label="Demo"
              {
                  Switch item=DEMOSW
              }
      
              Frame label="Sensors"
              {
                  Text item=hum01
                  Text item=temp01
              }
      
              Frame label="SolarEdge"
              {
                  Text item=SE2200_Live_Production
                  Text item=SE2200_Day_Production
                  Text item=SE2200_Month_Production
              }
      }
      
      posted in OpenHAB
      zookazim
      zookazim