-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new feature requests - FRITZ!Smart Gateway - support for Zigbee Devices #90
Comments
AVM_Zigbee_Devices.xlsx |
@mib1185 i just create the Json file from my Fritzbox I have seen in the Json File the AVM makes for Every Button on Zigbee Device a One Device in the Json file i have Order a Fritz DECT 350 Sensor but Hermes is not abel to Deliver so i can´t test it and a new oder is not posible its sold out yeah |
If you need the json for the DECT 350 let me know |
@Peter1980FFM Are you willing and able to help with some development tests in your HA installation? |
@mib1185 i dont have a discord account but yes i can help |
ok, than let's go with the very first step 1. create a backup !!!2. now install the custom fritzbox component:via HACS:
or manually:
as soon as you got the custom fritzbox component installed, please restart HA, download and provide the diagnostics data and check if there are any noticeable improvements. expected improvements:
btw. creating a discord account lasts only about 5 minutes, has no need for using real life names and is absolutely for free and communication and sharing ob debug files is much easier/faster. |
hi @Peter1980FFM is there anything in the log? usually you do not need to start any new config flow, because this custom component will just replace the HA core integrated one, so use the already existing configuration |
After reboot 2024-01-15 09:34:40.632 ERROR (MainThread) [homeassistant.bootstrap] Error setting up integration fritzbox - received exception |
@Peter1980FFM i've uploaded a new version of the custom component. would be great if you could test this new one |
@mib1185 Error setting up integration fritzbox - received exception During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last):
The above exception was the direct cause of the following exception: Traceback (most recent call last):
|
this is still the old version "0.0.1.dev0" 🤔 |
Look not so good |
ok, next try ... a new version -> "0.0.1.dev2" ... it contains now the just fresh released 0.6.10 |
looks a littel bit better |
Please download and provide the diagnostics data. |
Further please also provide screenshot from the devices detailed page (eq. both "Esszimmer Fenster unten") |
mehh ... we need some kind of |
are there any of these duplicated devices, where both has entities? If you have console access (eq. via the terminal add-on or ssh) than it would be great if you could capture the actual device registry data like follows change into $ cd /config/.storage get the id of the current fritzbox configuration entry $ cat core.config_entries | jq '.data.entries[] | select(.domain == "fritzbox" and .source != "ignore") | .entry_id'
"4c042584ff6711eaa7a09baa9efee9fd" now get all device registry entries connected to this configuration entry (replace $ cat core.device_registry | jq '.data.devices[] | select(.config_entries[0] == "4c042584ff6711eaa7a09baa9efee9fd")' |
ok, here we are -> new version "0.0.1.dev3" with the duplicated devices may remain, but all entities should now be attached to the "correct" device (usually this with a correct firmware version information). if this is the case, please delete these "empty" devices and restart HA ... they should not re-occur |
please open the detail pages of these devices and provide some screenshots. what ist the current overall state? are the devices and entities now as expected? |
Deletion not work I dont know why, just go back to my backup an Install from git again, now it looks better, |
Could you please download and provide the diagnostics data again? |
Good Morning 3 Examples config_entry-fritzbox-76a34de47a331963a19f9a3241f29eef.json (6).txt |
hi @Peter1980FFM logger:
default: info
logs:
custom_components.fritzbox: debug
pyfritzhome: debug |
home-assistant_fritzbox_2024-01-19T08-26-40.548Z.log |
correct, that's why i tried to create the |
Hi @Peter1980FFM |
@mib1185 Error setting up entry 192.168.122.24 for fritzbox |
mehhh ... forgot to upload the latest code ... new version "0.0.1.dev5" is now ready |
The gray of the switch are ok the Device is not Connect now to the Gateway christmal is Over ;-) |
@mib1185 i found a Error when i want to update my Automations |
there should be repair issues for every replaced device, which was used in any automation or script |
@mib1185 not Realy staple Logger: homeassistant.config_entries Error setting up entry 192.168.122.24 for fritzbox After Manual Rebbot the Integration |
mehhh 😖 the automations seems not to be loaded in the first place, so the detection of issues couldn't work 🙄 |
May the Automatic Repair is not the Solution :-( if you have more than one Entry in the Automation it only takes the Last one and Correct them but it not work i have to del it an make it new |
there is no automatic repair of scripts and automations - this is not possible. |
thank you good to know i will whait for the final releas or is anything to test in future? |
unfortunately even the final release will not have any automatic fixes. nevertheless I still need to solve the last issue you observed (btw many thanks for all your testing yet 🤝). Would be great if you could do some further tests as soon as I've I new development version ready |
What is the current state of Zigbee device support? I would like to use Philips Hue Switches (4 Buttons) and Motion Sensors (that include a Motion, Brightness and Temperature Sensor) In Home Assistant Philips Lightbulbs Seem to work fine but the Switches only Show up as Battery Level Sonsors and the Motion Sensors Show up as Battery and Alarm Sensors BTW I am a software developer myself and lerning Python at the moment, i think with a bit of an introduction to the code i could help improve support for those things but I don't quite understand how the different device classes are instaciated yet from just looking at the code on GitHub. Maybe i can checkout the repo and step debug the code to see whats going on with those devices. |
Hi @robertkleinschuster |
Hallo I use the - FRITZ!Smart Gateway - in Home Assistant i see, that some Devices not Fully Supportet.
support for zigbee units (see chapter 1.2 in avm api docs)
If you need some Examples write me Back
The text was updated successfully, but these errors were encountered: