Skip to content
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

Problem with config #112

Open
padso4tw opened this issue Feb 28, 2023 · 7 comments
Open

Problem with config #112

padso4tw opened this issue Feb 28, 2023 · 7 comments

Comments

@padso4tw
Copy link

Hi,
im running the latest homeassistant version and getting this error after adding my "config".
After pressing the Save button and starting the plugin it removes all "" from the config. Is this normal?
grafik

2023-02-28 10:38:55,490 | INFO | Reading config file: /data/options.json
2023-02-28 10:38:55,497 | ERROR | Parameter error for button 1: No [domain] or [service] provided
2023-02-28 10:38:55,499 | INFO | Exiting...

@bonkersbrains
Copy link

I have the same problem - did you manage to fix it? (Same error).

@manda-iow
Copy link

I think you need to provide a value in service_data.

I can recreate this error by removing all data from that value.

Caveat: My set up isn't working mind you, but the service does start up and begin sniffing without error so I would start with that! 😄

@bonkersbrains
Copy link

Yes thank you! I now have it sniffing like you do, but nothing happens when you press the dash button - no entry appears in the logs. The button is on the wifi though as my router detects the connection.

@bonkersbrains
Copy link

Ok, I spoke too soon - its working :D

  • name: BathroomBoost
    address: FC:65:DE:5D:25:F6
    domain: switch
    service: turn_on
    service_data: "{"entity_id":"switch.1001dbce8e"}"

Thanks!

@manda-iow
Copy link

Ok, I spoke too soon - its working :D

Thanks!

Hey great news glad I was able to help!
I am however having my own problems and was wondering if you could help me back?
Do you use the Home Assistant Operating System (HASSIO) as provided by the Raspberry Pi Imager tool or have you set up the Pi separately then installed HA onto it? I've gone with the HASSIO option (v 10.5 on RPi3) but my sniffer never recognises the buttons even though they are configured and appear on the network when clicked? Everything is all up to date and working and the install is pretty clean so I'm wondering if you did anything else and what your set up is? Ta

@bonkersbrains
Copy link

I do use HASSIO via the imager tool. Mine is RPi4. I keep the OS and core fully up to date. My set up is pretty complex, loads of integrations - several of them are from HACS store. Maybe there is something in the network settings that is stopping the home assistant container from seeing the traffic on the network? My network adapter is set to auto configure. I don't use the Home Assistant Cloud.

@manda-iow
Copy link

Thank you very much for the update. I found another sd card and put a completely fresh hassio image on it, did all the system updates then loaded the add on and still nothing. At this stage I'm tempted to blame it on the older RPi3 but who knows. I also got a docker build up and running (and realised the error of me asking about this add on and docker, since the container version doesn't support add ons!). Now that I've got that far I'm going to try and use the previously mentioned python daemon code and hopefully get it talking to the containerised HA. Maybe someone will help again in the future or I'll learn enough to solve it myself...!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@padso4tw @bonkersbrains @manda-iow and others