Comments (19)
@trvrnrth
Would be good if you could remember to:
- pre-commit run --all
- mypy
before you commit (I am not sure if the workflow forces you do do this).
from ramses_cc.
I am not sure if this is related to #118?
IIRC, v0.31.1 is the first public release that includes this commit.
from ramses_cc.
@trvrnrth See above - do you have any thoughts - I've had a quick look, but cannot see what's the issue - I am using the latest dev branch of HA.
I think these are a separate issue:
binary_sensor.13_237335_active
water_heater.stored_hw
binary_sensor.01_145038_schema
sensor.01_145038_hw_heat_demand
... and I will chase them down tomorrow-ish.
from ramses_cc.
These coudl be in either group - dunno:
sensor.10_064873_boiler_output_temp
sensor.10_064873_ch_max_setpoint
sensor.10_064873_ch_water_pressure
binary_sensor.10_064873_dhw_enabled
binary_sensor.10_064873_fault_present
from ramses_cc.
See:
- commit bba4b06 restore missing binary_sensor: CTL.active_fault
- commit 09ef8dd restore missing binary_sensor: BDR.active
from ramses_cc.
Diagnostic sensors (ie. entities with an category of EntityCategory.DIAGNOSTIC) are not included in the default dashboard.
I'll take a look at the other reported issues and see if I can spot anything.
from ramses_cc.
For binary_sensor.13_237335_active
your fix looks correct. I had misread the intention of the old RamsesActuator
entity class and must have forgotten to bring it up during review.
The change made in bba4b06 could probably be moved to the base RamsesBinarySensor
as there's no harm doing the cast for all entities but otherwise seems correct.
from ramses_cc.
binary_sensor.01_145038_schema
is renamed binary_sensor.01_145038_status
. I thought we'd had a conversation about that on a previous PR but I can't find it at the moment.
from ramses_cc.
sensor.10_064873_boiler_output_temp
sensor.10_064873_ch_max_setpoint
sensor.10_064873_ch_water_pressure
binary_sensor.10_064873_dhw_enabled
binary_sensor.10_064873_fault_present
I can't see anything on the ramses_cc side that would make these unavailable but I do notice that they are also no longer available in my "production" setup so I would suspect a recent ramses_rf change?
from ramses_cc.
water_heater.stored_hw
sensor.01_145038_hw_heat_demand
I suspect that this will be because the DhwZone is not getting picked up from a system at
I can PR something that should resolve these but unfortunately don't have a DHW system to test against.
from ramses_cc.
I believe #131 should resolve discovery of the DhwZones.
from ramses_cc.
sensor.10_064873_boiler_output_temp sensor.10_064873_ch_max_setpoint sensor.10_064873_ch_water_pressure binary_sensor.10_064873_dhw_enabled binary_sensor.10_064873_fault_present
I can't see anything on the ramses_cc side that would make these unavailable but I do notice that they are also no longer available in my "production" setup so I would suspect a recent ramses_rf change?
I believe the problem lies here: zxdavb/ramses_rf#99
from ramses_cc.
Diagnostic sensors (ie. entities with an category of EntityCategory.DIAGNOSTIC) are not included in the default dashboard.
That I did not know!
The change made in bba4b06 could probably be moved to the base RamsesBinarySensor as there's no harm doing the cast for all entities but otherwise seems correct.
I agree completely - I pulled it out partly because I am becoming a big fan of strict typing.
Certainly, the issue with 09ef8dd would have been picked up via mypy.
binary_sensor.01_145038_schema is renamed binary_sensor.01_145038_status. I thought we'd had a conversation about that on a previous PR but I can't find it at the moment.
I think you're right - I had that in the back of my head - was going to look at it next.
I can't see anything on the ramses_cc side that would make these unavailable but I do notice that they are also no longer available in my "production" setup so I would suspect a recent ramses_rf change?
You're right again - I alluded to this in the HA forum (do you keep an eye on that?) - I suspect it has something to do with changes to use_native_ot
:
ramses_cc:
ramses_rf:
use_native_ot: always # always, prefer (default), avoid, never
from ramses_cc.
I can PR something that should resolve these but unfortunately don't have a DHW system to test against.
There are a couple of ways around this.
- fake a DHW sensor (turn of HW priority, have it set to permanently off)
- load a contrived cache into HA (via .storage/ramses_cc)
- 'feed' a stream of packets (an old log) into HA via ser2net
But what I really need to do is setup some tests.
from ramses_cc.
Diagnostic sensors (i.e. entities with an category of EntityCategory.DIAGNOSTIC) are not included in the default dashboard.
I think every device should have one - and only one - non-DIAGNOSTIC attr.
- TRVs: heat_demand (%) - a change from temp
- BDR: active (bool)
- DHW (sensor): temperature
- THM: (indoor) temperature
- CTL: heat_demand (call for heat) of FC, with ext_state_attr of FA, etc.
- UFC: (probably) heat_demand
- OTB: modulation_level (%)
This will complicate the table - main attr is temperature for THM, but heat_demand for TRV.
from ramses_cc.
You're right again - I alluded to this in the HA forum (do you keep an eye on that?) - I suspect it has something to do with changes to
use_native_ot
:
I went looking: zxdavb/ramses_rf#99
from ramses_cc.
I think every device should have one - and only one - non-DIAGNOSTIC attr.
That seems reasonable.
This will complicate the table - main attr is temperature for THM, but heat_demand for TRV.
That shouldn't be too terrible; there will be a small amount of duplication but probably nothing horrific. If necessary the rf_class
on the description can also accept a union (ie. rf_class=DeviceClassA | DeviceClassB
)
from ramses_cc.
I went looking: zxdavb/ramses_rf#99
Wow! Too quick! Thanks.
Now: how did that get past mypy?
from ramses_cc.
I have added some typing to ramses_cc, so that is passes a basic mypy check.
Sadly, you'll need to merge it into your work - sorry for making work, but I have learned that strict typing is the way forward - it simply prevents bugs.
from ramses_cc.
Related Issues (20)
- Payload validation for 0x01FF packet HOT 3
- Assertion failure due to hold_secs arg HOT 2
- `climate.set_temperature` with multiple zones: not all are updated HOT 4
- Adding 1FC9 binding messages to ramses_cc_message HA events HOT 7
- Config flow: Clear cache dialog box is potentially confusing HOT 4
- Payload doesn't match '^0000[0-9A-F]{2}(00|10|20)': 01000010 HOT 7
- The gateway type is not determinable, will assume evofw3 HOT 2
- RFG:069468 (device type 30 not known to have signature: 0001C9001B0000FEFE) HOT 1
- Warning: Entity implements HVACMode(s): heat, off, auto and therefore implicitly supports the turn_on/turn_off methods... HOT 3
- `ramses_cc.set_zone_mode` - broken? HOT 15
- `ramses_cc.send_packet` creates invalid address sets HOT 8
- Hot Water device is not being named HOT 1
- The config flow fields discards comments HOT 2
- Design issue in `Broker.async_update()` HOT 2
- `ramses_cc.set_system_mode` eco_boost is being set for 1 hour HOT 4
- The various DHW sensors are not as expected HOT 2
- 0.31.7: `binary_sensor.01_078710_active_fault` is not being updated HOT 6
- 1 Zone not updating HOT 1
- device type 29 not known to have signature: 0001C826090367FFFF
- Best practice is exactly one gateway HOT 7
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 ramses_cc.