Giter Club home page Giter Club logo

Comments (14)

autopower avatar autopower commented on May 20, 2024

Feel free to modify code, I can implement 1st option into weather.py library

from thermeq3.

bilbolodz avatar bilbolodz commented on May 20, 2024

First option for me is fine but maybe together with putting actual temperature I should also put timestamp of local weather. In case when local value isn't updated longer than X (e.x. script or sensor error) there should be a fall back to "public services weather".

from thermeq3.

autopower avatar autopower commented on May 20, 2024

Check V258 and new bridge values:
local_temp, local_humidity, weather_reference
quickly documented

from thermeq3.

bilbolodz avatar bilbolodz commented on May 20, 2024

2017/10/14 19:21:28 [INFO] Actual version: 263, hash: d28f229c6951810f0421a540199680d6
2017/10/14 19:31:53 [INFO] Current temperature in local is 0, humidity 0%

http://192.168.105.16/data/get/ :
weather_reference "local" local_temp "16.4" local_humidity "79.0" profile "temp"

cat /mnt/sda1/www/bridge.json:
"profile": "temp", "weather_reference": "local","local_humidity": "79.0", "local_temp": "16.4"

the same in /mnt/sda1/thermeq3.bridge

from thermeq3.

autopower avatar autopower commented on May 20, 2024

Please check and test V264

from thermeq3.

bilbolodz avatar bilbolodz commented on May 20, 2024
  1. Local weather is working fine, thank you.
  2. "profile" key (set to "temp") after still returns to "normal"
  3. How about "continuous heating value" (details bellow). Are you going to implement it or should I try to fix it in the import script? If you want I can open separate issue for this.

According heating time: Domoticz expects continuous (over time) values for counters. When your reset heating time each day there is a problem "just after midnight" because of "internal Domoticz value overflow" (Date: 2017-10-14 00:00:00 Value: 18446744073709552000). Is it possible to add one additional value to heating table with "total (continous) heating time"?

from thermeq3.

autopower avatar autopower commented on May 20, 2024

Check V266, 2 fixed, 3 implemented in total_heattime bridge value

from thermeq3.

bilbolodz avatar bilbolodz commented on May 20, 2024

Confirm 2 fixed.

About 3: so far NO total_heattime key in bridge.json. When it should appeal in the bridge? Just after startup or should I wait longer?

from thermeq3.

autopower avatar autopower commented on May 20, 2024

total heat time will be generated at midnight, after deleting key for current day

from thermeq3.

bilbolodz avatar bilbolodz commented on May 20, 2024

Not working:
root@Arduino:/mnt/sda1# cat thermeq3_error.log Traceback (most recent call last): File "/root/thermeq3/nsm.py", line 7, in <module> thermeq3.loop() File "/root/thermeq3/thermeq3.py", line 980, in loop if t3.intervals == 0xFF: File "/root/thermeq3/thermeq3.py", line 425, in intervals self.update_all() File "/root/thermeq3/thermeq3.py", line 616, in update_all self.update_counters(False) File "/root/thermeq3/thermeq3.py", line 680, in update_counters self.update_total_heat(_v) File "/root/thermeq3/thermeq3.py", line 625, in update_total_heat bridge.put("tht", value + _total_heat_time) TypeError: can only concatenate list (not "float") to list

from thermeq3.

autopower avatar autopower commented on May 20, 2024

in V266?

from thermeq3.

bilbolodz avatar bilbolodz commented on May 20, 2024

Yes

from thermeq3.

autopower avatar autopower commented on May 20, 2024

Fixed

from thermeq3.

bilbolodz avatar bilbolodz commented on May 20, 2024

Working

from thermeq3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.