Plugwise core and custom_component

I have only just noticed, but since my update to hass 2022.6 my switches are no longer available in home assistant. They are controllable in the plugwise interface.

I have checked the diagnostics and the devices are no longer in there. I can see the entities, but that is because they are restored. My plugwise version is 0.18.5 (core).

Any clue what could be the cause and how I can fix this? I don’t dare delete the integration and re-add, since I’m not sure if the devices will get new IDs and destroy all my automations?

Which Plugwise integration did you use before the upgrade? Plugwise-beta or Core plugwise?

Also core, I did use the beta component before that for a while, but I’m sure I already removed it before upgrading. However, it might be the cause still somehow, I can’t really tell.

Ok, when going from Plugwise-beta to Core Plugwise, you are going back to an older version with less features and possibly less devices. For instance, in Core Plugwise there is no configuration of the scan-interval or the refresh-interval, these were not approved.

If you really want to go back to Core Plugwise, my advice is to delete the Plugwise-beta integration, restart HA Core and then add the Core Plugwise integration.

Thanks, I just reinstalled the beta and it is working again. I guess I misunderstood from before that this functionality was now included in the core integration and I prefer to be on stable in general. Will stay on beta for now.

had forgotten about it, so finally made an issue in https://github.com/home-assistant/frontend/issues/13082

update

closed that and moved to Add support for translating attributes

Hi all,
Is it correct, that the Plugwise-beta integration still does not have the ability to register the Circle+ to the stick?
Do you know of any other way to do that besides the Plugwise Source software? Because I do not have a license code for that.
The stick wasn’t used in quite some time and I did a reset of the Circles I have in an attempt to get them working with my Zigbee network. Maybe the registration was lost then.
Thanks!

No there is currently no support for registering a Circle+ directly from the plugwise-beta integration yet. However, based on the collected information during the reversed engineering of the plugwise protocol, there are hints for the format of Circle+ registration request message. So it might be possible.
Unfortunately I don’t have much spare time to spend to figure this out right now. I want to finish a full rewrite of the backend code to improve stability and performance first. I just created a feature request for this so I won’t forget.

Thanks for the quick response!
No hurry, I wrote to the Plugwise support and told them my problem and they gave me a code no questions asked.
I reset the stick and registered the Circle+ and now it seems to work.

1 Like

I’m not able to pair more than 1 Circle+ to a stick. Using Plugwise Source, after factory resetting a Circle+, I can pair it to the stick. However, adding further Circle+s to that same stick does not work. Plugwise source keeps saying “Waiting for modules…”.

Also, looking at the debug logs of the plugwise-beta integration in homeassistant (installed via HACS), I see it should allow join requests. However, I do not see any new Circle+s added when factory resetting them near either the stick or the already paired Circle+. For the already paired Circle+ I see power usage and energy consumption today, but the other entities are not available. They run firmware version 2011-06-27.

How do you add more Circle+s to the same stick?

AFAIK you can’t do that, and why do you want to?
The idea is to link 1 circle+ to the stick and then let all other plugs create a mesh to that “coordinator”/circle+.

@sjoerdos92 I agree with @JeeCee, only one Circle+ can be connected to a Stick, the rest of the devices in the network must be Circles, Stealths, etc.

Is there any way I can disable the persistent notifications on the custom component? Because of the temperatures my floor heating pump has been off for months. Every day I get a notification that the pump has been enabled shortly to prevent clogs and rust forming. Because of this I have a persistent notification every day that isn’t really an error, but just info…

Switch to Core Plugwise, the persistent notifications do not exist in that version.
Core Plugwise is still behind Plugwise-beta but not as far as it used to be. I think it should work for you.

Thanks I’ll have a look. Before the core version was indeed too far behind. Still an option to disable the messages (or at least not make them persistent notifications) would be nice for the future.

I can’t seem to connect a normal Circle to a Circle+ either. I tried to reset them. The should automatically join, right? Also trying it in the Source software doesn’t work. Any tips?

Probably the reset was not successful. Yes, when a reset is done correctly, it should automatically join.

Please google for the Circle reset options, if I remember correctly, there were 3 different methods, depending on the age/firmware of the Circle.

Hi,
Sorry for this newbie question. Just moving from Homeseer to HA.
Started with this plugin and it worked fine. After a couple of days it stopped suddenly.
Only installed Samba Backup around the same time. Stopping this integration didn’t help. What’s the best way to investigate the reason of this failure?
Running HA in a Virtualbox on a NUC (Windows). Pls let me know if there’s a better location tot post this question on the community.

Deze fout is ontstaan door een aangepaste integratie.
Logger: homeassistant.config_entries
Source: custom_components/plugwise/usb.py:102
Integration: Plugwise Beta (documentation)
First occurred: 09:25:56 (2 occurrences)
Last logged: 09:26:17

Error setting up entry Stick for plugwise
Traceback (most recent call last):

  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 357, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/plugwise/__init__.py", line 18, in async_setup_entry
    return await async_setup_entry_usb(hass, entry)
  File "/config/custom_components/plugwise/usb.py", line 102, in async_setup_entry_usb
    await hass.async_add_executor_job(api_stick.connect)
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.10/site-packages/plugwise/stick.py", line 172, in connect
    if self.msg_controller.connect_to_stick(callback):
  File "/usr/local/lib/python3.10/site-packages/plugwise/controller.py", line 101, in connect_to_stick
    if self.connection.connect():
  File "/usr/local/lib/python3.10/site-packages/plugwise/connections/__init__.py", line 36, in connect
    self._open_connection()
  File "/usr/local/lib/python3.10/site-packages/plugwise/connections/serial.py", line 29, in _open_connection
    self._serial = serial.Serial(
  File "/usr/local/lib/python3.10/site-packages/serial/serialutil.py", line 244, in __init__
    self.open()
  File "/usr/local/lib/python3.10/site-packages/serial/serialposix.py", line 336, in open
    self._update_dtr_state()
  File "/usr/local/lib/python3.10/site-packages/serial/serialposix.py", line 713, in _update_dtr_state
    fcntl.ioctl(self.fd, TIOCMBIS, TIOCM_DTR_str)
OSError: [Errno 5] I/O error

I have a Plugwise on/off wall switch/button that controls a couple of circles turning some lights on and off. This was set up with the original Plugwise software.

  • It seems when turning circles on/off using this switch, controlling the circles directly, the on/off status of the circles does not seem to update in HA.

  • I’ve searched for how to add these wall switches to plugwise beta to see if this could help but couldn’t find info.

@herbus I would suggest removing the integration, restart HA and add the integration again. Maybe that will help.

I myself have no idea why this happens, maybe @brefra, do you have an idea?