Giter Club home page Giter Club logo

Comments (24)

bouwew avatar bouwew commented on August 10, 2024

From @frenck I've understood that this kind of info will be available in HA Core sometime in the future.
I'm not sure how that will look like though.

Regarding your request, yes, we could implement functionality that does that. But it will not be shown in HA Core without the fitting displaying-function. And the plugwise-output would need to fit to the input required by HA Core. So we can't do anything without clear instructions from the Core devs. Or from you if you were to develop the displaying-function for Core yourself :)

@frenck anything you would like to add?

from python-plugwise.

Sennevds avatar Sennevds commented on August 10, 2024

I'll wait on Frenck's input :) and in the meantime I will create small python script to get me the necessary information πŸ™‚

from python-plugwise.

frenck avatar frenck commented on August 10, 2024

We could create an empty shell device to provide a connection internally for Home Assistant, but it won't provide a graph you can view or any entities for such a device either.

from python-plugwise.

Sennevds avatar Sennevds commented on August 10, 2024

I don't need a entity. For my use case just a sensor with a list of connected ZigBee device's would suffice. But I don't know the bigger picture for Hass.

from python-plugwise.

bouwew avatar bouwew commented on August 10, 2024

@Sennevds can you specify in detail what you are looking for?
From what you write above, you want to know from each zigbee-capable device to which router/coordinator/neighbours they are connected?

Also, feel free to provide a PR that implements your requested functionality.

from python-plugwise.

frenck avatar frenck commented on August 10, 2024

For my use case just a sensor with a list of connected ZigBee devices would suffice.

Integration cannot provide such a thing at this moment in time.

from python-plugwise.

bouwew avatar bouwew commented on August 10, 2024

@Frenk you mean this can't be a sensor? This info could be added as extra_state_attributes?

from python-plugwise.

Sennevds avatar Sennevds commented on August 10, 2024

@Sennevds can you specify in detail what you are looking for? From what you write above, you want to know from each zigbee-capable device to which router/coordinator/neighbours they are connected?

Also, feel free to provide a PR that implements your requested functionality.

Something like that or a list of devices connected to the coordinator. Like I said in my initial FR you can add CCxxxx devices to extend the network by opening the ZigBee network on the Adam but you don't have any confirmation that it worked. If you look at core/modules you can view the devices so I thought that it would be nice to integrate them in this package but it looks like this python package is only used for Hass and I get there is no interest in this because it's not officially supported by plugwise

from python-plugwise.

Sennevds avatar Sennevds commented on August 10, 2024

@Frenk you mean this can't be a sensor? This info could be added as extra_state_attributes?

This would be sufficient for me πŸ™‚

from python-plugwise.

frenck avatar frenck commented on August 10, 2024

There is no state in here... (so no entity to create) Additionally, extra attributes is something that Home Assistant is avoid/phasing out as much as possible.

There is a connection in the device info, which services this purpose. However, as said above, that would require creating of empty shell devices, which is odd as well.

From the Home Assistant perspective, this will not add much and will also not visualize it. IMHO, it doesn't belong there at this point.

from python-plugwise.

Sennevds avatar Sennevds commented on August 10, 2024

Thought so. I will create my own python script to visualize it.

from python-plugwise.

bouwew avatar bouwew commented on August 10, 2024

"but it looks like this python package is only used for Hass and I get there is no interest in this because it's not officially supported by plugwise"

That is a wrong conclusion :)
Frenck is the "voice" of HA Core but we can allow ourselves some freedom in the plugwise-library and in plugwise-beta :)

Let's discuss a little more before we close this topic.

@Sennevds On the usefulness of the zigbee-related info, the HA Core ZHA Integration provides a visualization of the network, as stated here https://github.com/zha-ng/zha-map
Might this depreciated code be of interest to you?

from python-plugwise.

Sennevds avatar Sennevds commented on August 10, 2024

I've created a small python script with dash and gives following output:
image
Just need to add the names via the appliances xml (damn they didn't make a really accessible api πŸ˜“ )

from python-plugwise.

frenck avatar frenck commented on August 10, 2024

@Sennevds On the usefulness of the zigbee-related info, the HA Core ZHA Integration provides a visualization of the network, as stated here zha-ng/zha-map

Such a thing cannot be provided directly by (custom) integrations, as it is baked into the Home Assistant frontend.

See: https://github.com/home-assistant/frontend/blob/dev/src/panels/config/integrations/integration-panels/zha/zha-network-visualization-page.ts

from python-plugwise.

bouwew avatar bouwew commented on August 10, 2024

@Sennevds Looking nice! Please see const.py for number (106-03) to name, see util.py for the code to convert number to name.

from python-plugwise.

Sennevds avatar Sennevds commented on August 10, 2024

I want to connect the appliances so I can add the display name instead of the product name. Just added the coordinator (has a different node name zig_bee_coordinator)

from python-plugwise.

Sennevds avatar Sennevds commented on August 10, 2024

@bouwew could it be that there was an software update? All of a sudden I notice the the neighbors has a sub element neighbor and every neighbor element has a dept and relation element. Previous week it looked different.

Edit: check now I'm on 3.6.7 and last week I was on 3.2.8. Looks like the XML's have changed.

Edit 2: all my entities became unavailable in home assistant I will try to check these evening in the logs

from python-plugwise.

bouwew avatar bouwew commented on August 10, 2024

Yes, I'm reading on Tweakers.net that others have gotten this update too.
I'm already on v3.6.x for some time, the python-plugwise code has already been adapted for the XML-changes in this update.

Entities unavailable: please try to restart HA Core, does this resolve the issue?

from python-plugwise.

bouwew avatar bouwew commented on August 10, 2024

@Sennevds I came across this on Gathering of Tweakers:

Nieuwe Adam 3.6.x release:
Bug fixes en security verbeteringen
Scene voor alle zones in 1x instellen
Vakantiemodus
Verwarming pauzeren
Maximale keteltemperatuur voor OpenTherm ketels kan nu altijd ingesteld worden, ook al ondersteunt de ketel dit niet. De regeling zelf zal niet hoger vragen dan de ingestelde maximale keteltemperatuur.
OpenTherm thermostaat kan verwijderd worden
Loria dual circuit ondersteuning
Plug update
Na stroomuitval blijft Plug uitstaan
Plug multicasting
Nieuwe apparaattypes: koelcontact, elektrische verwarming
Plug voor verwarming kan niet meer vergrendeld worden
Verbeterde zigbee update stabiliteit
Verbeterde Tom temperatuur correctie
Tom’s worden 1 voor 1 open of dicht gezet
Circulatiepomp wacht langer op Koen voordat die aangaat
Plugwise zone-regeling staat nu standaard aan
Regeling zet warmtepompen aan met een nog lagere gewenste aanvoertemperatuur
Zone verwarmingsfout status toegevoegd

from python-plugwise.

Sennevds avatar Sennevds commented on August 10, 2024

That was my message πŸ˜„

from python-plugwise.

bouwew avatar bouwew commented on August 10, 2024

I was wondering about that... :)

Anyway, thanks for providing, there's some good information in the changelog!

from python-plugwise.

bouwew avatar bouwew commented on August 10, 2024

@Sennevds where are you with your experiments? Is there something you could share?

from python-plugwise.

Sennevds avatar Sennevds commented on August 10, 2024

Hi, I just started rewriting it today for the changes in the API/xml's. At this moment I'm not using this library but just my own script to understand the links. Next up in line is to use this library and maybe create pr

from python-plugwise.

bouwew avatar bouwew commented on August 10, 2024

Let's close this, no updates in a long time.

from python-plugwise.

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.