Comments (17)
Ok implemented new version. Now when calling smart_irrigation.voortuin_calculate_daily_adjusted_run_time it works:
Calling smart_irrigation.voortuin_reset_bucket resets the daily values. So this looks good!
From the core log:
2020-05-30 12:54:00 INFO (MainThread) [custom_components.smart_irrigation] Calculate Daily Adjusted Run Time service called, calculating now.
2020-05-30 12:54:00 INFO (MainThread) [custom_components.smart_irrigation] Updating bucket: 0.0 with netto_precipitation: -8.770122066475068
2020-05-30 12:54:22 INFO (MainThread) [custom_components.smart_irrigation] Updating Smart Irrigation Data
2020-05-30 12:54:22 INFO (MainThread) [custom_components.smart_irrigation] Updating Smart Irrigation Data
2020-05-30 12:54:22 INFO (MainThread) [custom_components.smart_irrigation.sensor] rain: 0.0, snow: 0.0
2020-05-30 12:54:22 INFO (MainThread) [custom_components.smart_irrigation.sensor] rain: 0.0, snow: 0.0
2020-05-30 12:54:22 INFO (MainThread) [custom_components.smart_irrigation.sensor] rain: 0.0, snow: 0.0
2020-05-30 12:54:22 INFO (MainThread) [custom_components.smart_irrigation.sensor] rain: 0.0, snow: 0.0
2020-05-30 12:55:02 INFO (SyncWorker_18) [custom_components.smart_irrigation] Reset bucket service called, resetting bucket to 0.
Let's see if it also works tonight at 23:00
from hasmartirrigation.
Also on 23h it worked last night. So solved!
from hasmartirrigation.
is auto refresh enabled?
from hasmartirrigation.
from hasmartirrigation.
found the bug, will release v0.0.21 soon. please test that and confirm/close.
from hasmartirrigation.
Nope doesn't work.
2020-05-29 23:00:00 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/smart_irrigation/init.py", line 327, in _async_update_last_of_day
self._update_last_of_day()
File "/config/custom_components/smart_irrigation/init.py", line 316, in _update_last_of_day
self.bucket = self.bucket + bucket_delta
TypeError: can only concatenate str (not "float") to str
2020-05-29 23:00:00 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/smart_irrigation/init.py", line 327, in _async_update_last_of_day
self._update_last_of_day()
File "/config/custom_components/smart_irrigation/init.py", line 316, in _update_last_of_day
self.bucket = self.bucket + bucket_delta
TypeError: can only concatenate str (not "float") to str
from hasmartirrigation.
can you provide the bucket value before this error happens?
from hasmartirrigation.
It is and was 0:
from hasmartirrigation.
ok, one more screenshot: can you share the value of netto precipitation as well?
from hasmartirrigation.
daily sensors:
base sensors:
from hasmartirrigation.
not sure what is going on here, I will be providing you a new version that has more logging. You should see an INFO
entry in the log saying: "Updating bucket [value] with netto_precipitation: [value]". Can you provide me with that once you've seen it?
from hasmartirrigation.
no problem, can i trigger manually? Of do i have to wait about 24hr
from hasmartirrigation.
you can trigger it manually.
from hasmartirrigation.
please test using v0.0.22
from hasmartirrigation.
Ok,, as the sensor names are changed, should i remove integrations, reboot and re-add? It;s 1 AM here now so will do this tomorrow.
from hasmartirrigation.
I would remove, readd. that should take care of it. oh and go to sleep :)
from hasmartirrigation.
Thanks!
from hasmartirrigation.
Related Issues (20)
- v2024.7.2 issues
- Make continous updates a experimental feature off by default in prod versions
- TypeError: argument of type 'NoneType' is not iterable HOT 4
- OpenWeatherMap sensor is not available HOT 3
- register_static_path is deprecated because it does blocking I/O in the event loop HOT 1
- After updating to v2024.7.4: No weather data to parse for mapping 0 HOT 14
- v2024.7.4 broke Openweather integration HOT 1
- No calculation since 2024.7.4 HOT 9
- After upgrade from 2024.6.1 to 2024.7.4 no Open Weather sensor HOT 2
- Pressing "calculate all zones" or single zone does not do anything HOT 12
- Cannot activate continuous calculations HOT 9
- Forecast days reset to 0 after HomeAssistant restart
- 0 data collected HOT 14
- Scheduled updates and calcs should skip pure sensor source groups if continuous updates are on
- Spamming HA with entities HOT 5
- Cannot delete sensor group HOT 1
- SmartIrrigation not starting as last update HOT 4
- wetterdata ist not been deleted after calculation of one zone HOT 2
- Irrigation sensor = 0 HOT 6
- Not loading on update HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hasmartirrigation.