Navigation

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

    gniazdoj

    @gniazdoj

    1
    Reputation
    2
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Location Poland

    gniazdoj Follow

    Best posts made by gniazdoj

    • RE: 💬 Temperature Sensor

      @Rene046
      Hi guys

      Hi
      can you advice how to manage Domoticz to display 2 decimals under Temperature sensors page, when following line MsgTemp.set(temperature,2) I can see on arduino serial monitor, mysensors sent 20.75 value, the same value i can see under child item with Hardware tab but not on sensor where 20.75*C is rounded to 20.8. its fine for general log but i want to have stable temperature for heating system. I have added code to count average from last X records like 20 or 40 with 0.25 steps, this stabilize Heating system and protect it against on/off to frequently.
      Additionally when i use JSON it will present proper value under sensor page, same with ESPEasy and 2 decimal configuration on ESP.
      do you know how i can changed domoticz to force him to present 2 decimals?

      Mysensors 2.3.1/2.3.2
      Domoticz 4.10717
      raspberry pi

      Thank you
      Jakub

      posted in Announcements
      gniazdoj
      gniazdoj

    Latest posts made by gniazdoj

    • RE: 💬 Temperature Sensor

      @kimot
      Hi
      Thank you for feedback.
      I have this issue only with mysensors. it's exactly like you wrote. Hardware tab, present 2 decimals ( for mysensors and espeasy). Device tab, present 1 decimal ( for all sensors), Temperature tab shows 2 decimal for esp easy and JSON updates but 1 decimal for mysensor. Not sure why.

      Temporary I managed to workaround by using script taking data from Hardware page - child and sending JSON update all started by crone updating dummy sensor.

      like this:

      TEMP=`curl -s "http://X.X.X.X:XX/json.htm?type=command&param=mysensorsgetchilds&idx=40&nodeid=0"| awk 'NR>1{print $5}'| sed 's/"//g;s/^.//;s/)//g; s/,//g;/^$/d;s/]//g;' | sed -n '3,2p'`
      IDX=255
      curl -s "http://X.X.X.X:XX/json.htm?type=command&param=udevice&idx=$IDX&nvalue=0&svalue=$TEMP"
      

      but for sure this can be workaround by dzVents and JSON handling results but i'm not skilled enough for that 🙂

      Thank you
      Jakub

      posted in Announcements
      gniazdoj
      gniazdoj
    • RE: 💬 Temperature Sensor

      @Rene046
      Hi guys

      Hi
      can you advice how to manage Domoticz to display 2 decimals under Temperature sensors page, when following line MsgTemp.set(temperature,2) I can see on arduino serial monitor, mysensors sent 20.75 value, the same value i can see under child item with Hardware tab but not on sensor where 20.75*C is rounded to 20.8. its fine for general log but i want to have stable temperature for heating system. I have added code to count average from last X records like 20 or 40 with 0.25 steps, this stabilize Heating system and protect it against on/off to frequently.
      Additionally when i use JSON it will present proper value under sensor page, same with ESPEasy and 2 decimal configuration on ESP.
      do you know how i can changed domoticz to force him to present 2 decimals?

      Mysensors 2.3.1/2.3.2
      Domoticz 4.10717
      raspberry pi

      Thank you
      Jakub

      posted in Announcements
      gniazdoj
      gniazdoj