-
Notifications
You must be signed in to change notification settings - Fork 3
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
Roomba Connection error: Error: [Errno 111] Connection refused #4
Comments
Just a thought, Or maybe something with user rights ? |
Yeah I did, the config file is populated, including a Password and other stuff. Created the service file, enabled it and started it. It's active and running, added the device to Domoticz but the batterypercentage was zero and the status was null or something.. That's where I got suspicious and restarted the Domoticz, the Roomba service and the mosquitto service. I don't know what else to do. I don't think sudo is gonna help, I feel like the either the Roomba isn't accepting the connection or the password might be wrong or something.. Than again, it got all the info, like the passwd, Robot name I believe serialnumber or something like the all from the setting up/password script. During the installation. Any tips or ideas? |
I am currently on holiday and will take a look afterwards. All works
perfectly at my side with the i9.
Op do 19 aug. 2021 23:24 schreef ThirstyThursten ***@***.***>:
… Just a thought,
You DID run the file to get the password to enter in the config?
I tried it on mine but then it stays "on" the green light didnt go out
anymore
Or maybe something with user rights ?
when you start it with sudo ?
Yeah I did, the config file is populated, including a Password and other
stuff.
What do you mean with the "on" and green light?
When I did the connect thing on my i9+ I held the HOME button on the
device itself, then lightring went blue and sort of pulsing, at that moment
I saw the command for the password get a response and the Roomba said
something like *dundundun*"The device is set up and ready for use" or
something like that.
After that I checked the the config and as I said it was indeed populated.
Created the service file, enabled it and started it. It's active and
running, added the device to Domoticz but the batterypercentage was zero
and the status was null or something..
That's where I got suspicious and restarted the Domoticz, the Roomba
service and the mosquitto service.
All report back as Active(running). Through sudo systemctl status
{servicename}.
I don't know what else to do. I don't think sudo is gonna help, I feel
like the either the Roomba isn't accepting the connection or the password
might be wrong or something..
I noticed in the code that the password to connect is decoded and parsed
from some base64 stuff. I don't know if the i9+ stores the password
differently.
Than again, it got all the info, like the passwd, Robot name I believe
serialnumber or something like the all from the setting up/password script.
During the installation.
Any tips or ideas?
Ps. Sorry for the text wall.. 😅
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD3SGC4HWNJLWP2AK3FHXDLT5VZBZANCNFSM5CN4P3YA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Hey, [192.168.0.100] I have 3 buttons in domoticzz ( Start/stop) State and Battery ( only battery level never worked) Hmm do you have set a user/pw for the Roomba on your Mqtt ?? |
Je moet een knop hebben "run", "state" en "Battery".
* Run geeft aan of the stofzuiger aan het stofzuigen is of niet en kan ook
gebruikt worden om de stofzuiger te started/stoppen. Deze knop integreert
ook het batterijniveau --> je ziet dit in Setup-Devices
* State geeft de status weer (stofzuigen, laden, etc...)
* Battery: op vraag van een gebruiker heb ik nadien een expliciete knop
toegevoegd met het batterijniveau. Per default is deze niet "zichtbaar",
maar je kan deze zichtbaar maken via Setup-Devices-Add device (groen/blauw
icoontje met een pijltje rechts/links).
Filip.
Op do 26 aug. 2021 om 00:25 schreef Tankyspanky ***@***.***>:
… Hey,
I have a 680 i believe.
This is my config file: ( naam van stofzuiger komt van mijn vrouw en niet
van mij ( deze keer ) haha
[192.168.0.100]
blid = 3176480C41344670
password = :1:*************************************
data = {'cap': {'eco': 1, 'ota': 1, 'svcConf': 1},
'hostname': 'Roomba-3176480C41344670',
'ip': '192.168.0.100',
'mac': 'D0:C5:D3:E4:5B:46',
'nc': 0,
'proto': 'mqtt',
'robotname': 'Zuigslet',
'sku': 'R671040',
'sw': '3.5.62',
'ver': '3'}
Ik heb 3 knoppen in domoticz State - Battery en ik dacht nog eentje kan
hem zo snel niet vinden
Batterij level wordt niet aangegeven bij mij maar is niet zo erg ze zeurt
wel als ze bijna leeg is :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD3SGCYAH65725QYGM2EBIDT6VUV5ANCNFSM5CN4P3YA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Hey Filip, I have have the devices all in my Domoticz Dashboard yeah, however batterylevel is shown as 0% but Kara is at her homebase so that's ridiculous. @Tankyspanky, I have not set anything custom for mqtt aside from the config changes in the readme of this plugin. Did I need anything else? |
The devices become "red" when they don't get updates anymore.
Is the only problem the battery level? Does it mean that the other states
are OK (eg if the cleaner is running, the status is correct in Domoticz?)
F
Op do 26 aug. 2021 om 10:42 schreef ThirstyThursten <
***@***.***>:
… Hey Filip,
You back from holiday yet?
If you want we can continue troubleshooting in Dutch, that's also fine by
me.
I have have the devices all in my Domoticz Dashboard yeah, however
batterylevel is shown as 0% but Kara is at her homebase so that's
ridiculous.
Is there anyway to see if it's connected and working, without starting a
vacuumjob?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD3SGCZBMJKHCMWHLE4JOS3T6X46PANCNFSM5CN4P3YA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Hey Filip, Any logging that I can share to help troubleshoot? I can share my config.ini if it helps? Thanks again for helping and thinking with me! :) |
This is the result of And this is my config.ini (ofcourse I took the sensitive info out). All the places where it says
|
Hi, As long as the first step is not working (trying with a standard MQTT client), it is not worth to go further. Filip |
Hi, grtz Aad |
Hey man, I installed NickWatertons version (the latest) and followed his steps, installed the dependencies and ran the roomba.py in his folder and it worked! I got a connection and got a complete and full log with working connection etc. |
For the plugin, please read the instructions in the readme. If not clear, let me know. |
Yeah, but the thing is, your version of roomba.py can't get a connection up.. I don't know what exactly is different in his way of connecting amd your way of connecting. I don't know if following the steps in the readme again is gonna change anything cause the config.ini files are the same in both yours and his folder (automatically generated). |
Hey Filip (or anyone who can help me),
I love the work you did here, thanks for that!
I followed the guide to the letter, checked everything twice.
But I keep getting an error while trying to connect. The config is populated correctly (atleast I think so.)
The Service is running correctly and shows as active for both the Mosquitto and Roomba service.
Here is the Debug info:
NOTE: The IP address in the original file is correct, I obfuscated it.
I do have a Roomba S9+ so maybe that's the problem? maybe they changed something in the backend?
I hope you can help me out! If you need any more info let me know! 😃
Thanks in advance!
Greetings,
Thursten
EDIT I noticed I made a typo!! I have the Roomba S9+ (9550), self emptying vacuum with DustBin Current Firmware version is: 3.18.11
The text was updated successfully, but these errors were encountered: