-
-
Notifications
You must be signed in to change notification settings - Fork 97
Upgrade to 2.1.0b7 and missing mixer circuit #557
Comments
Not sure why but when I updated last week from one beta to the next some mqtt topics were not published anymore. |
@bbqkees Thanks. But that didn't work. The data in the EMS webpage is the same as in the Sense II controller. |
The mixing mqtt is changed to nested format but not tested in HA discovery (i do not have HA, proddy don't have a mixer). Look at he discussion in #549 and check what mqtt output you get for mixer and discovery. |
Hi @MichaelDvP. Thanks. I'm not getting nested data in MQTT explorer just one Topic: Under v2.0 I was getting two Topics:: I seem to recall at the very beginning of the development of the MM200 module there was some discussion about using nested payloads, but I think this was discounted because the data was coming in on separate EMS telegrams. I have also had a little dig under the HA bonnet and after upgrading to the latest release I found there are new tools to deal with Entity names (very pleased) and tools to deal with Discovery. Although the MM10 module is there in #549, I have nothing in HA discovery for my MM200. mixing_wwc1_wwTemp mixing_wwc2_wwTemp Not sure what that means. |
Here is a bug, try in a few minutes a new build. |
I found the code change thanks, but not the 8266 bin file. |
I need to take the auto-discovery plunge at some point but need to think it through first. Is there any wiki or other info on how best to do it? Wondering if I should hang on a bit longer to let the new release bed in a bit? |
I'm already started to implement the new structure in my code. (maybe a bad moment for me to upgrade, but this may help to solve). |
In v2.1 the mixing topics depends on mqtt-format: |
Aha, indeed I receive all mixing data on the topic |
Update, I'm missing the pumpMod value in the structure as be present before. |
I'm not really HA expert, but I seem to have found a half reasonable way to do this migration. It all looked a bit daunting but the tools in the latest version of HA make it fairly easy. The biggest challenge is with "Friendly names". I only displayed the entities that are accessible via the original boiler display and named them using the the British Worcester/Bosch manual. I also had value-topic: if-then to convert codes to text and string manipulation convert seconds to hours both of which need figuring out. I'll share thoughts on the rest of the process as soon as I've got the MM200 working and finished the migration. |
@PhillyGilly: Does the mqtt-format HA work now with HA discovery? |
Sorry @MichaelDvP, are you asking if latest version of HA is discovering the ESP with its mqtt format set to HA? Yes that's working although I haven't uploaded your latest firmware yet. I will do that and feedback later today. |
@MichaelDvP Very good, thank you. MQTT explorer reports: |
I think I know where the problem is. I'll see if I can fix it. |
I've managed by a bit of trial and error to match up most of my auto-discovered entities to previous sensor.yaml entities. FWIW here is the payload from Jan 2020 that I used when creating the sensor.yaml |
@glitter-ball this should help https://emsesp.github.io/docs/#/Home-Assistant plus my recent comment to Proddy in the community. |
@PhillyGilly that's a lot of work you put it into making it your own in HA. You took the plunge, nice! If you have better icons and wording we can change that too. I think even the service codes we could map to text at some point. The less .yaml the better. |
Interesting! Am I right in thinking all the basic mapping is done by auto discovery but I can still change formatting, icons, templates etc. in HA? Or is the aim to avoid as much YAML as possible and do most of the heavy lifting in EMS-ESP? I suppose I should just take a snapshot and have a play... |
Yes. You're right. Follow the Wiki and see my comments to Proddy last night in the forum on how to tweak. There are some entities where I manipulated the json value in my sensor.yamk file eg converting time from seconds to hours or alarm codes to text that I haven't worked out yet. But my sensor file has reduced from nearly 1,000 lines to less than 100. |
@glitter-ball you can override everything in HA, either directly via the HA web interface or using .yaml files. The naming and icons are just defaults in EMS-ESP but I didn't spend a lot of time thinking about them. If you have better naming or better icons ideas let me know and I'll make the code changes, |
@proddy and @PhillyGilly - thanks for your tips. Doesn't sound too painful, so I'll maybe give it a go next weekend! Naming and icons is always going to be a personal thing - my current arrangement below. Happy to share the .yaml if anything catches your eye but I've seen some pretty slick stuff on here from others too *8) Part 1 Part 2 |
I also need to fix the thermostat climate card which screams every minute when I put the heating in manual mode...
|
@glitter-ball I may steal some of those mdi icons. Can you share which ones you used? |
OK. My rather untidy sensor.yaml is here. Hopefully you can pull out icon refs from it!
|
is this still the case?
is there anything that you'd like to see EMS-ESP do to format these values? |
I made some changes to the Mixer unit for HA in 2.0.1b11. Check it out and let know if it works. I don't have a mixing unit so its hard to test, |
closing this issue. the mixer circuits are identified. If new issues pop up we can open a new issue. |
Upgraded to 1.1.0b7 last night and ran into a few problems.
Now that I have auto-discovery almost nothing is working in HA as I had but all the "Friendly Names" in my sensor.yaml file.
AFAIK the way to do this is to edit configuration.yaml
homeassistant:
other stuff may be here
customize: !include customize.yaml
and in customize.yaml:
sensor.warm_water_activated
friendly_name: 'DHW activated'
I now have 200+ entities so I am looking forward to a good few hours getting back on track, although I know this will be a good investment. But is there a better way?
More importantly I have lost one of my mixer circuits that was present and working under 2.0.2b0. The ESP is seeing the device but not generating the MQTT topic.
The text was updated successfully, but these errors were encountered: