Could you please tell me which serial I have to add?
HomeKit plugin (using homebridge)
-
- Forum-Nutzer
- Beiträge: 10
- Registriert: Mo 9. Sep 2019, 21:44
- Mäher: Husqvarna Automower 315
- Firmware des Mähers (MSW): MSW 7.xx.xx
- Herstellungsjahr: 2016
- Robonect Firmware: 1.0a
Re: HomeKit plugin (using homebridge)
Ok, now the mower showed up but without data.
Could you please tell me which serial I have to add?
Could you please tell me which serial I have to add?
-
- sehr erfahrener Forum-Nutzer
- Beiträge: 120
- Registriert: So 26. Mär 2017, 11:31
- Wohnort: Sweden
- Mäher: Gardena smart SILENO
- Robonect-Modul: Robonect Hx (Rev.5)
- Robonect Firmware: 1.4
- hat sich bedankt: 6 Male
- wurde gedankt: 20 Male
- Kontaktdaten:
Re: HomeKit plugin (using homebridge)
The serial number does not matter. The only two really important things are HX or H30x and the URL to your mower.
Take a Screenshot of the home app and post here please.
Best regards,
David from Sweden
David from Sweden
-
- Forum-Nutzer
- Beiträge: 10
- Registriert: Mo 9. Sep 2019, 21:44
- Mäher: Husqvarna Automower 315
- Firmware des Mähers (MSW): MSW 7.xx.xx
- Herstellungsjahr: 2016
- Robonect Firmware: 1.0a
Re: HomeKit plugin (using homebridge)
I just found a typo in the username with capitals Now it displays fine. thank you for your help.larsan hat geschrieben: ↑Do 12. Sep 2019, 20:21The serial number does not matter. The only two really important things are HX or H30x and the URL to your mower.
Take a Screenshot of the home app and post here please.
-
- sehr erfahrener Forum-Nutzer
- Beiträge: 120
- Registriert: So 26. Mär 2017, 11:31
- Wohnort: Sweden
- Mäher: Gardena smart SILENO
- Robonect-Modul: Robonect Hx (Rev.5)
- Robonect Firmware: 1.4
- hat sich bedankt: 6 Male
- wurde gedankt: 20 Male
- Kontaktdaten:
Re: HomeKit plugin (using homebridge)
Goooodie.Barzille hat geschrieben: ↑Do 12. Sep 2019, 22:12I just found a typo in the username with capitals Now it displays fine. thank you for your help.larsan hat geschrieben: ↑Do 12. Sep 2019, 20:21The serial number does not matter. The only two really important things are HX or H30x and the URL to your mower.
Take a Screenshot of the home app and post here please.
Best regards,
David from Sweden
David from Sweden
-
- Forum-Nutzer
- Beiträge: 12
- Registriert: Di 30. Mai 2017, 23:13
- Mäher: Gardena R40Li
- Firmware des Mähers (MSW): MSW 6.xx.xx
- Herstellungsjahr: 2016
- Robonect-Modul: Robonect Hx (Rev.4)
- Robonect Firmware: V1.0a 20/08/19
Re: HomeKit plugin (using homebridge)
Thanks for the information. Unfortunately this ECONNRESET appears always, even in good wifi areas. And at the same time it's getting the correct information about Status and battery level back (see example) - so there is an connection. In my home bridge log I can see that first the ECONNRESET problem appears and at the same timestamp the correct values are received.larsan hat geschrieben: ↑Do 12. Sep 2019, 15:34Those are node errors indicating that your homebridge server has trouble reaching the mower. Perhaps it's in areas of your garden with low wi-fi coverage?tk21 hat geschrieben: ↑Sa 7. Sep 2019, 16:36 Today I updated my robot to all latest firmwares (V1.0a 20/08/19,...). I'm using the home bridge plugin since quite a while and generally it's great having the robonect control in HomeKit to control my robot with Siri.
But I have one issue... In my log I find now this entry roundabout every minute:
'[HomebridgeRobonect] connect ECONNRESET 192.168.178.42:80'
sometimes also
'[HomebridgeRobonect] read ECONNRESET'
The full entry block in the log looks like this
'[Homebridge] [9/7/2019, 4:32:27 PM] [HomebridgeRobonect] read ECONNRESET
[Homebridge] [9/7/2019, 4:32:27 PM] [HomebridgeRobonect] read ECONNRESET
[Homebridge] [9/7/2019, 4:32:27 PM] [HomebridgeRobonect] Battery level: 100
[Homebridge] [9/7/2019, 4:32:27 PM] [HomebridgeRobonect] Charging: 0
[Homebridge] [9/7/2019, 4:32:27 PM] [HomebridgeRobonect] Battery level: 100'
My questions:
- Is this ECONNRESET an error an how can I fix this?
- Is there any possibility to change the time how often the plugin asks robonect for an update?
The plugin updates when you open the home app - at least that was how nfarina explained homebridge to me
Very stronge is also that the robonect plugin is asking the robonect each 15 seconds (!). So I have the above mentioned entry every 15 seconds in my log... Can't be right, can it?
Additional remark: I forgot to mention that I'm using HOOBS. Could this be the reason because in the HOOBS UI on the raspi the Robonect Plugin is always open - like opening the home app??? If this is the case would it be possible for you to program a setting in your plugin where I can set a fix time for e.g. 5 minute?
-
- sehr erfahrener Forum-Nutzer
- Beiträge: 120
- Registriert: So 26. Mär 2017, 11:31
- Wohnort: Sweden
- Mäher: Gardena smart SILENO
- Robonect-Modul: Robonect Hx (Rev.5)
- Robonect Firmware: 1.4
- hat sich bedankt: 6 Male
- wurde gedankt: 20 Male
- Kontaktdaten:
Re: HomeKit plugin (using homebridge)
Hello.tk21 hat geschrieben: ↑Sa 21. Sep 2019, 09:58 Thanks for the information. Unfortunately this ECONNRESET appears always, even in good wifi areas. And at the same time it's getting the correct information about Status and battery level back (see example) - so there is an connection. In my home bridge log I can see that first the ECONNRESET problem appears and at the same timestamp the correct values are received.
Very stronge is also that the robonect plugin is asking the robonect each 15 seconds (!). So I have the above mentioned entry every 15 seconds in my log... Can't be right, can it?
Additional remark: I forgot to mention that I'm using HOOBS. Could this be the reason because in the HOOBS UI on the raspi the Robonect Plugin is always open - like opening the home app??? If this is the case would it be possible for you to program a setting in your plugin where I can set a fix time for e.g. 5 minute?
Sorry for the late reply.
The whole architecture behind an "accessory" as HomeKit describes it, is that it is activated on request. Your request would have me re-code the whole plugin as a platform instead, essentially needing a complete re-write. So - no, I can't. But anyone who would like to, can fork my project and create their own version.
Best,
David
Best regards,
David from Sweden
David from Sweden
-
- Forum-Anfänger
- Beiträge: 7
- Registriert: Sa 4. Apr 2020, 11:19
- Wohnort: Volxheim
- Mäher: Husqvarna Automower 330X
- Firmware des Mähers (MSW): MSW 7.xx.xx
- Herstellungsjahr: 2015
- Robonect Firmware: 1.1b
Re: HomeKit plugin (using homebridge)
I'm struggling as well to add the mower with homebridge-robonect. My homebridge is running since years. I installed the plugin and added the robonect-config to my config.json.
When homebridge is starting it says this:
Any idea? Thanks!
Code: Alles auswählen
{
"bridge": {
"name": "HomebridgePI",
"username": "CC:22:3D:E3:CE:31",
"port": 51826,
"pin": "031-45-154"
},
"description": "Home Smart Home",
"platforms": [
{
"platform": "FHEM",
"name": "FHEM",
"server": "192.168.x.x",
"port": 8083,
"filter": "room=Homekit",
"csrfToken": "xyz"
}
],
"accessoires": [
{
"accessory": "HomebridgeRobonect",
"name": "Schaf",
"mower": "Husqvarna",
"model": "330X",
"robonect-card": "HX",
"serial-number": "12345678",
"getUrl": "http://samerg:nabla4711@192.168.x.x"
}
]
}
Code: Alles auswählen
Apr 6 14:15:57 solarpi homebridge[30705]: [4/6/2020, 2:15:57 PM] Loaded config.json with 0 accessories and 1 platforms.
Apr 6 14:15:57 solarpi homebridge[30705]: [4/6/2020, 2:15:57 PM] ---
Apr 6 14:15:58 solarpi homebridge[30705]: [4/6/2020, 2:15:58 PM] Loaded plugin: homebridge-fhem
Apr 6 14:15:58 solarpi homebridge[30705]: homebridge API version: 2.4
Apr 6 14:15:58 solarpi homebridge[30705]: this is homebridge-fhem 0.4.19
Apr 6 14:16:14 solarpi homebridge[30705]: [4/6/2020, 2:16:14 PM] Registering platform 'homebridge-fhem.FHEM'
Apr 6 14:16:14 solarpi homebridge[30705]: [4/6/2020, 2:16:14 PM] ---
Apr 6 14:16:17 solarpi homebridge[30705]: [4/6/2020, 2:16:17 PM] Loaded plugin: homebridge-robonect
Apr 6 14:16:17 solarpi homebridge[30705]: [4/6/2020, 2:16:17 PM] Registering accessory 'homebridge-robonect.HomebridgeRobonect'
Apr 6 14:16:17 solarpi homebridge[30705]: [4/6/2020, 2:16:17 PM] ---
Apr 6 14:16:17 solarpi homebridge[30705]: [4/6/2020, 2:16:17 PM] Loading 1 platforms...
Apr 6 14:16:17 solarpi homebridge[30705]: [4/6/2020, 2:16:17 PM] [FHEM] Initializing FHEM platform...
FHEM, Homematic, Shelly, Homebridge ... alles, was sich verbinden und ansteuern lässt.
-
- sehr erfahrener Forum-Nutzer
- Beiträge: 120
- Registriert: So 26. Mär 2017, 11:31
- Wohnort: Sweden
- Mäher: Gardena smart SILENO
- Robonect-Modul: Robonect Hx (Rev.5)
- Robonect Firmware: 1.4
- hat sich bedankt: 6 Male
- wurde gedankt: 20 Male
- Kontaktdaten:
Re: HomeKit plugin (using homebridge)
You’ve misspelled accessories.samerg hat geschrieben: ↑Mo 6. Apr 2020, 14:34 I'm struggling as well to add the mower with homebridge-robonect. My homebridge is running since years. I installed the plugin and added the robonect-config to my config.json.
When homebridge is starting it says this:Code: Alles auswählen
{ "bridge": { "name": "HomebridgePI", "username": "CC:22:3D:E3:CE:31", "port": 51826, "pin": "031-45-154" }, "description": "Home Smart Home", "platforms": [ { "platform": "FHEM", "name": "FHEM", "server": "192.168.x.x", "port": 8083, "filter": "room=Homekit", "csrfToken": "xyz" } ], "accessoires": [ { "accessory": "HomebridgeRobonect", "name": "Schaf", "mower": "Husqvarna", "model": "330X", "robonect-card": "HX", "serial-number": "12345678", "getUrl": "http://samerg:nabla4711@192.168.x.x" } ] }
Any idea? Thanks!Code: Alles auswählen
Apr 6 14:15:57 solarpi homebridge[30705]: [4/6/2020, 2:15:57 PM] Loaded config.json with 0 accessories and 1 platforms. Apr 6 14:15:57 solarpi homebridge[30705]: [4/6/2020, 2:15:57 PM] --- Apr 6 14:15:58 solarpi homebridge[30705]: [4/6/2020, 2:15:58 PM] Loaded plugin: homebridge-fhem Apr 6 14:15:58 solarpi homebridge[30705]: homebridge API version: 2.4 Apr 6 14:15:58 solarpi homebridge[30705]: this is homebridge-fhem 0.4.19 Apr 6 14:16:14 solarpi homebridge[30705]: [4/6/2020, 2:16:14 PM] Registering platform 'homebridge-fhem.FHEM' Apr 6 14:16:14 solarpi homebridge[30705]: [4/6/2020, 2:16:14 PM] --- Apr 6 14:16:17 solarpi homebridge[30705]: [4/6/2020, 2:16:17 PM] Loaded plugin: homebridge-robonect Apr 6 14:16:17 solarpi homebridge[30705]: [4/6/2020, 2:16:17 PM] Registering accessory 'homebridge-robonect.HomebridgeRobonect' Apr 6 14:16:17 solarpi homebridge[30705]: [4/6/2020, 2:16:17 PM] --- Apr 6 14:16:17 solarpi homebridge[30705]: [4/6/2020, 2:16:17 PM] Loading 1 platforms... Apr 6 14:16:17 solarpi homebridge[30705]: [4/6/2020, 2:16:17 PM] [FHEM] Initializing FHEM platform...
Best regards,
David from Sweden
David from Sweden
-
- Forum-Anfänger
- Beiträge: 7
- Registriert: Sa 4. Apr 2020, 11:19
- Wohnort: Volxheim
- Mäher: Husqvarna Automower 330X
- Firmware des Mähers (MSW): MSW 7.xx.xx
- Herstellungsjahr: 2015
- Robonect Firmware: 1.1b
Re: HomeKit plugin (using homebridge)
My bad. I fixed this and now it works. Stupid me.You’ve misspelled accessories.
FHEM, Homematic, Shelly, Homebridge ... alles, was sich verbinden und ansteuern lässt.
-
- sehr erfahrener Forum-Nutzer
- Beiträge: 120
- Registriert: So 26. Mär 2017, 11:31
- Wohnort: Sweden
- Mäher: Gardena smart SILENO
- Robonect-Modul: Robonect Hx (Rev.5)
- Robonect Firmware: 1.4
- hat sich bedankt: 6 Male
- wurde gedankt: 20 Male
- Kontaktdaten:
Re: HomeKit plugin (using homebridge)
Hi everyone.
I've rewritten a lot of code recently, and I would like to request your help in testing it OUT.
Anyone who'd dare to test it, please install with the following command:
sudo npm install -g homebridge-robonect@1.0.23-beta.1
And please report back any irregularities.
Scratch that, version 1.1.0 is OUT.
I've rewritten a lot of code recently, and I would like to request your help in testing it OUT.
Anyone who'd dare to test it, please install with the following command:
sudo npm install -g homebridge-robonect@1.0.23-beta.1
And please report back any irregularities.
Scratch that, version 1.1.0 is OUT.
Best regards,
David from Sweden
David from Sweden