Comments (10)
try this line :
from iotawatt_ha.
It is easy to do so. Just fork this respository and change the value in the "const.py" file. I have already done this.
from iotawatt_ha.
@mmiller7 I believe the default polling period is 30seconds. Do you want a way to increase it to poll say every 45-60seconds?
from iotawatt_ha.
I was thinking more like 5-10 seconds (so 6x or 12x per minute) - I'd like to have HomeAssistant monitor some things that are much shorter duration or trigger more events more quickly after they start happening.
from iotawatt_ha.
hi @polyfaces the current version of https://github.com/gtdiehl/iotawatt_ha/blob/main/custom_components/iotawatt/const.py does not include such constant anymore - I tried your suggested solution and added it myself but the integration seems to ignore it?
from iotawatt_ha.
It is easy to do so. Just fork this respository and change the value in the "const.py" file. I have already done this.
Just tried updating and discovered this no longer seems to exist.
How do we adjust the refresh rate in the new version?
from iotawatt_ha.
I would love to be able to do this too. Ideally only for one or two specific measurements (entities in HA) coming off the iotawatt that are more time critical, but would be happy to suck up the pain if it had to apply to all measurements (entities in HA). I can where 30 seconds is set in the code in GitHub, but I dont really want to revert from using the core version of the integration to a custom one unless that is the only way to do this.
from iotawatt_ha.
same problem, i would like to set custom refresh rate because 30 second is a lot of time when i have to turn off some items. i suffer disconnection from the grid because this integration is too slow to trigger events
from iotawatt_ha.
Thank you!!
from iotawatt_ha.
Anyone getting this error in the log with a higher refresh rate?
2022-03-19 11:40:50 WARNING (MainThread) [iotawattpy.iotawatt] Nothing to query, update() called too soon, must wait {timespan}
from iotawatt_ha.
Related Issues (20)
- Need graphic/logo for IoTaWatt HOT 2
- Issues with wh for a particular "solar surplus" output
- wh issue when using Iotawatt with calculations HOT 4
- Multi-IoTaWatt setup issue with identical inputs HOT 13
- Sensor isn't updated until a new different value is read HOT 2
- Sensor state isn't updated unless the value change. HOT 1
- Energy sensors created from an IotaWatt output can yield an incorrect result HOT 8
- Sensors based on output and returning frequency or power factor return 0 HOT 1
- Entering wrong credentials does not stop setup
- Remove last_reset attribute HOT 6
- All outputs are missing in 0.1.1 HOT 25
- Confused with current versioning, and HACS vs HA built-in. HOT 3
- Entity sensor.main_2_wh from integration iotawatt has state class total_increasing, but its state is not strictly increasing. HOT 1
- Can't find integration in HACS HOT 1
- Unexpected state class HOT 1
- Unremovable Duplicated Output Entities HOT 5
- Energy use - wh vs wh_accumulated?
- After creating aggregoators these are not being discovered/added to HA HOT 1
- Error starting integration since HA 2023.5 upgrade HOT 10
- Unable to prepare setup for platform iotawatt.sensor: Platform not found (cannot import name 'VOLT' from 'homeassistant.const' HOT 3
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 iotawatt_ha.