The UPB integration is set up correctly and I can control the lights from the HA interface. However when I control the lights with the wall switch, Home Assistant never sees the change. I have the option for lights to report their statuses enabled in the UpStart programming as well.
It appears it may be a ‘downfall’ in your configuration.
All of my UPB devices are configured to report their status when manually operated. As a result, when I manually turn on/off a light or change its brightness, the device reports its status, the information is received by the UPB integration, and corresponding entities report the new value.
Are you certain the UPB integration is using the latest version of your UPB export file?
You should probably start closer to the source which would be in upstart and see if you can replicate the problem there before getting into home assistant.
I have and everything works correctly in Upstart. I just went through and reprogramed all of my devices verifying that they all have the “update status” option selected. Imported a new file in to home assistant and I’m still getting the same timeout error and no status reporting.
I see five devices timed out. Do you have more devices? Are any of them communicating? Are you getting any status? Can you control any of your devices? What make and model are the devices?
I can’t think of any more questions. I’m with the rest of the comments… seems to be your network somehow, just no clue as to why.
My test system (RPI3) is equipped the same way. It also uses Debian because, at the time, the operating system in Home Assistant OS didn’t have the required driver to support the USB version of the CIM (there’s a discussion about it within this thread). Perhaps that changed in the latest version of Home Assistant OS but I have not tested it.
Which installation method was used for your Raspberry Pi? Home Assistant OS or something else?
In that case, it would appear that its operating system now includes the necessary driver to detect the PIM-U and, at the very least, allow the UPB integration to successfully transmit commands. What is subject to debate is whether it is able to successfully receive commands.
An interesting experiment would be to activate a UPB link (a.k.a. scene) and check if the UPB integration receives it using Developer Tools > Events > Listen to events.
Click ‘Start listening’ then activate/deactivate a UPB scene (can be done in UPstart) and you should see events reporting the link number and other information. If you don’t then nothing was received from the PIM-U and suggests the driver might be the culprit.
For those joining this game late, and being puzzled by the lack of /dev/ttyUSB0 device when plugging in the Simply Automated UMC-USB-W into the Home Assistant OS – this is because it’s missing the usb serial module for cypress_m8, which this device uses. So far I have not been able to figure out how to work around this.
Is there a way to change device type from light to switch or fan? I have read the entire thread. I see this was mentioned but I do think it was resolved. Thanks.
Not sure but I’m guessing you would have to create a template. I have a fan that appears as a light light.upb_bathroom_fan. In the GUI I just changed the icon next to the switch to a fan icon. For other projects (not UPB) I have used fan template but that’s much more involved.
I know this is 2 1/2 years late but I got the HA UPB integration to work with the PIM-IP. The short answer is to disable authentication by unchecking the “Enable User Logins” on the PIM-IP.
I own a PCS PulseWorx UPB Powerline Interface Module IP (PIM-IP). I use it to run Upstart and configure my lights from my Windows PC over the net. I got HA running and decided to try the UPB integration, but I got a “Could not Connect” error. After reading this thread I noticed there was a connection problem due to the PIM-IP requiring authentication. So here is how to fix the authentication problem:
–Using your browser go to the URL of the PIM-IP and login to the web UI using “root”.
This is the user with configuration privileges.
–Go to Configuration, Users
–uncheck "Enable User Login
That’s it! When you go back to the HA UPB integration and configure the TCP address and file name it will connect and bring up your lights.
BTW, you can not use Upstart unless you disable the HA UPB integration first.
I only see an option to create a helper that converts a switch to something else. Not to convert a light to a switch or a fan. I resolved my issue by inserting the device code in yaml for the blueprint I was trying to utilize.
On another issue it seems a core OS update may have changed the usb device IDs. Any idea how to change the serial port the PIM is connected to after the initial configuration?