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

irobot s9+ not starting to vacuum #5

Open
astrapowerrr opened this issue Dec 3, 2021 · 12 comments
Open

irobot s9+ not starting to vacuum #5

astrapowerrr opened this issue Dec 3, 2021 · 12 comments

Comments

@astrapowerrr
Copy link

hi,

i followed you guide step by step by step.
and i am really bad with linux..
but i got it working at least the connection.
my device shows up in domoticz but when i hit start the vacuum bin starts to vacuum the irobot.
so it isnt starting to clean my room but it starts to empty it.

then i get lost how to fix this.
can you or somebody else help me out on this?

@astrapowerrr astrapowerrr changed the title irobot s9 not starting to vacuum irobot s9+ not starting to vacuum Dec 3, 2021
@FilipDem
Copy link
Owner

FilipDem commented Dec 3, 2021

The most important hurdle is taken... I know that it is not so simple to get it installed unless you know the techniques behind... I tried to describe as much as possible and seems it is fruitful.

For your specific topic...
I am sending the mqtt command 'start' to the vacuum cleaner... I just looked a bit around on the internet if there would be another command for the S9+. It seems not.. so the mqtt 'start" command should really start the cleaner.

When you click on the "run" device while it it is off, it should start cleaning with the following logic:

  • if "state" device mentions "Charging", then it will run by sending 'start'
  • however if the state is not "Charging" it will "dock"... I did this logic for a reason... if the vacuum cleaner is stopped itself in the middle of the room (eg blocked), then this button will trigger the vacuum cleaner going to his charging station (= "dock")...
            if Command == 'On':
                if self.state == 'Charging':
                    self.mqttClient.Publish(_COMMANDS, 'start')
                else:
                    self.mqttClient.Publish(_COMMANDS, 'dock')
            else:
                self.mqttClient.Publish(_COMMANDS, 'stop')
                self.execute = _DOCK

I suppose that your device is not in the "charging" state and has probably another state when he is on his docking... Therefore the plugin triggers "dock" and for the S9+ it means emptying the vacuum cleaner also.

What I suggest is that you let me know already the state that is mentioned when the cleaner is on its docking (before you click the "run" device). With this I can give you an update so that you can make a test...
Ideally you give me more information, ie you let it run manually and write down all the different states you see coming in domoticz on the "state" device... If you are more experienced, you can do it directly with mqtt logging outside domoticz.

Filip

@astrapowerrr
Copy link
Author

Hi,Filipdem

I tested today but I noticed some things.
*state doesn’t change, just name - state and the perlite stays red(offline?)

  • when running state doesn’t change stays red
  • and when I hit run it vacuüms the bin. After that nothing works anymore.. need to reboot pi.

@FilipDem
Copy link
Owner

FilipDem commented Dec 4, 2021

This confirms my idea that the state is not correct... If it is red, it means that the state is not updated... You must be sure that the mqtt is properly working.
You could connect to the mqtt brooker with mosquitto_sub... If you use the command mosquitto_sub -v -t /roomba/feedback/#, the information sent by the roomba should become visible and update every time roomba sends its update... Is nothing is shown, there could be already a problem in capturing the info... This info is useful for me to see what could be wrong.
You should get something like below. If the "state" is not available in the bare mqtt, we have already a problem.

xxxx$ mosquitto_sub -v -t /roomba/feedback/#
/roomba/feedback/Roomba/batPct 100
/roomba/feedback/Roomba/batteryType F12432832R
/roomba/feedback/Roomba/batInfo_mDate 2018-9-15
/roomba/feedback/Roomba/batInfo_mName PanasonicEnergy
/roomba/feedback/Roomba/batInfo_mDaySerial 34170
/roomba/feedback/Roomba/batInfo_mData 303030333034303200000000000000000000000000
/roomba/feedback/Roomba/batInfo_mLife 0C610B33107F0A884DE0000904DAF78400CDFECC2C0EFFFF14A70F8100000000
/roomba/feedback/Roomba/batInfo_cCount 155
/roomba/feedback/Roomba/batInfo_afCount 0
/roomba/feedback/Roomba/batAuthEnable True
/roomba/feedback/Roomba/bbchg_nChatters 15
/roomba/feedback/Roomba/bbchg_nKnockoffs 326
/roomba/feedback/Roomba/bbchg_nLithF 10
/roomba/feedback/Roomba/bbchg_nChgOk 197
/roomba/feedback/Roomba/bbchg_aborts [0, 14, 23]
/roomba/feedback/Roomba/bbchg_chgErr [0, 0, 0, 0, 0]
/roomba/feedback/Roomba/bbchg_smberr 57344
/roomba/feedback/Roomba/bbchg_nChgErr 0
/roomba/feedback/Roomba/bbchg3_estCap 1785
/roomba/feedback/Roomba/bbchg3_nAvail 425
/roomba/feedback/Roomba/bbchg3_hOnDock 8870
/roomba/feedback/Roomba/bbchg3_avgMin 66
/roomba/feedback/Roomba/bbmssn_aCycleM 86
/roomba/feedback/Roomba/bbmssn_nMssnF 5
/roomba/feedback/Roomba/bbmssn_nMssnC 31
/roomba/feedback/Roomba/bbmssn_nMssnOk 182
/roomba/feedback/Roomba/bbmssn_aMssnM 109
/roomba/feedback/Roomba/bbmssn_nMssn 219
/roomba/feedback/Roomba/bbnav_aMtrack 39
/roomba/feedback/Roomba/bbnav_nGoodLmrks 137
/roomba/feedback/Roomba/bbnav_aGain 18
/roomba/feedback/Roomba/bbnav_aExpo 49
/roomba/feedback/Roomba/bbpause_pauses [16, 104, 16, 104, 104, 104, 46, 46, 2, 104]
/roomba/feedback/Roomba/bbrstinfo_nNavRst 68
/roomba/feedback/Roomba/bbrstinfo_nMapLoadRst 0
/roomba/feedback/Roomba/bbrstinfo_nSafRst 0
/roomba/feedback/Roomba/bbrstinfo_nMobRst 43
/roomba/feedback/Roomba/bbrstinfo_safCauses [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
/roomba/feedback/Roomba/bbrun_nOvertemps 0
/roomba/feedback/Roomba/bbrun_nEvacs 0
/roomba/feedback/Roomba/bbrun_nCBump 0
/roomba/feedback/Roomba/bbrun_nWStll 0
/roomba/feedback/Roomba/bbrun_nPanics 40
/roomba/feedback/Roomba/bbrun_nPicks 66
/roomba/feedback/Roomba/bbrun_nOpticalDD 28
/roomba/feedback/Roomba/bbrun_nPiezoDD 22
/roomba/feedback/Roomba/bbrun_nScrubs 60
/roomba/feedback/Roomba/bbrun_nStuck 11
/roomba/feedback/Roomba/bbrun_nMBStll 136
/roomba/feedback/Roomba/bbrun_sqft 1187
/roomba/feedback/Roomba/bbrun_min 49
/roomba/feedback/Roomba/bbrun_hr 229
/roomba/feedback/Roomba/bbrun_nCliffsF 14140
/roomba/feedback/Roomba/bbrun_nCliffsR 0
/roomba/feedback/Roomba/bbswitch_nBumper 244618
/roomba/feedback/Roomba/bbswitch_nDrops 201
/roomba/feedback/Roomba/bbswitch_nDock 69
/roomba/feedback/Roomba/bbswitch_nSpot 36
/roomba/feedback/Roomba/bbswitch_nClean 74
/roomba/feedback/Roomba/bbsys_min 33
/roomba/feedback/Roomba/bbsys_hr 9330
/roomba/feedback/Roomba/behaviorFwk True
/roomba/feedback/Roomba/bin_present True
/roomba/feedback/Roomba/bin_full False
/roomba/feedback/Roomba/binPause True
/roomba/feedback/Roomba/bleDevLoc False
/roomba/feedback/Roomba/cap_binFullDetect 2
/roomba/feedback/Roomba/cap_oMode 10
/roomba/feedback/Roomba/cap_dockComm 1
/roomba/feedback/Roomba/cap_wDevLoc 2
/roomba/feedback/Roomba/cap_bleDevLoc 1
/roomba/feedback/Roomba/cap_edge 0
/roomba/feedback/Roomba/cap_maps 3
/roomba/feedback/Roomba/cap_pmaps 5
/roomba/feedback/Roomba/cap_tLine 2
/roomba/feedback/Roomba/cap_area 1
/roomba/feedback/Roomba/cap_eco 1
/roomba/feedback/Roomba/cap_multiPass 2
/roomba/feedback/Roomba/cap_team 1
/roomba/feedback/Roomba/cap_pp 0
/roomba/feedback/Roomba/cap_lang 2
/roomba/feedback/Roomba/cap_hm 0
/roomba/feedback/Roomba/cap_5ghz 1
/roomba/feedback/Roomba/cap_prov 3
/roomba/feedback/Roomba/cap_sched 1
/roomba/feedback/Roomba/cap_svcConf 1
/roomba/feedback/Roomba/cap_ota 2
/roomba/feedback/Roomba/cap_log 2
/roomba/feedback/Roomba/cap_langOta 0
/roomba/feedback/Roomba/cap_tileScan 1
/roomba/feedback/Roomba/carpetBoost False
/roomba/feedback/Roomba/cleanMissionStatus_cycle none
/roomba/feedback/Roomba/cleanMissionStatus_phase charge
/roomba/feedback/Roomba/cleanMissionStatus_expireM 0
/roomba/feedback/Roomba/cleanMissionStatus_rechrgM 0
/roomba/feedback/Roomba/error_message None
/roomba/feedback/Roomba/cleanMissionStatus_error 0
/roomba/feedback/Roomba/cleanMissionStatus_notReady 0
/roomba/feedback/Roomba/cleanMissionStatus_mssnM 0
/roomba/feedback/Roomba/cleanMissionStatus_expireTm 0
/roomba/feedback/Roomba/cleanMissionStatus_rechrgTm 0
/roomba/feedback/Roomba/cleanMissionStatus_mssnStrtTm 1638532816
/roomba/feedback/Roomba/cleanMissionStatus_operatingMode 0
/roomba/feedback/Roomba/cleanMissionStatus_initiator localApp
/roomba/feedback/Roomba/cleanMissionStatus_nMssn 219
/roomba/feedback/Roomba/cleanMissionStatus_missionId 01FP02N740V193QPRKR4AJ3TGF
/roomba/feedback/Roomba/cleanSchedule2 [('enabled', True), ('type', 0), ('start', OrderedDict([('day', [1, 3, 5]), ('hour', 13), ('min', 0)])), ('cmd', OrderedDict([('command', 'start'), ('time', 1638532800), ('initiator', 'schedule')]))]
/roomba/feedback/Roomba/cloudEnv prod
/roomba/feedback/Roomba/connected True
/roomba/feedback/Roomba/country BE
/roomba/feedback/Roomba/deploymentState 0
/roomba/feedback/Roomba/dock_known True
/roomba/feedback/Roomba/dock_pn None
/roomba/feedback/Roomba/dock_state None
/roomba/feedback/Roomba/dock_id None
/roomba/feedback/Roomba/dock_fwVer None
/roomba/feedback/Roomba/dock_hwRev None
/roomba/feedback/Roomba/dock_varID None
/roomba/feedback/Roomba/evacAllowed True
/roomba/feedback/Roomba/ecoCharge False
/roomba/feedback/Roomba/featureFlags_quietNav True
/roomba/feedback/Roomba/featureFlags_homeMonitoring False
/roomba/feedback/Roomba/featureFlags_clearHaz True
/roomba/feedback/Roomba/featureFlags_hibLed 0
/roomba/feedback/Roomba/featureFlags_covPlan 0
/roomba/feedback/Roomba/featureFlags_ros2SptLvl True
/roomba/feedback/Roomba/hwPartsRev_csscID 255
/roomba/feedback/Roomba/hwPartsRev_mobBrd 7
/roomba/feedback/Roomba/hwPartsRev_mobBlid 71FF653E0A6E052181522675A2AB073D
/roomba/feedback/Roomba/hwPartsRev_imuPartNo BMI055
/roomba/feedback/Roomba/hwPartsRev_navSerialNo CF08C0443
/roomba/feedback/Roomba/hwPartsRev_wlan0HwAddr 50:14:79:01:57:5a
/roomba/feedback/Roomba/hwPartsRev_NavBrd 0
/roomba/feedback/Roomba/hwDbgr None
/roomba/feedback/Roomba/langs2_sVer 1.0
/roomba/feedback/Roomba/langs2_dLangs_ver 0.27
/roomba/feedback/Roomba/langs2_dLangs_langs ['ar-SA', 'cs-CZ', 'da-DK', 'de-DE', 'en-GB', 'en-US', 'es-ES', 'es-XL', 'fi-FI', 'fr-CA', 'fr-FR', 'he-IL', 'it-IT', 'ja-JP', 'ko-KR', 'nb-NO', 'nl-NL', 'pl-PL', 'pt-BR', 'pt-PT', 'ru-RU', 'sv-SE', 'tr-TR', 'zh-CN', 'zh-HK', 'zh-TW']
/roomba/feedback/Roomba/langs2_sLang nl-NL
/roomba/feedback/Roomba/langs2_aSlots 0
/roomba/feedback/Roomba/lastCommand_command dock
/roomba/feedback/Roomba/lastCommand_initiator localApp
/roomba/feedback/Roomba/lastCommand_time 1638621683
/roomba/feedback/Roomba/lastDisconnect 2
/roomba/feedback/Roomba/mapUploadAllowed True
/roomba/feedback/Roomba/missionTelemetry_aux_comms 1
/roomba/feedback/Roomba/missionTelemetry_bat_stats 1
/roomba/feedback/Roomba/missionTelemetry_behaviors_report 1
/roomba/feedback/Roomba/missionTelemetry_camera_settings 1
/roomba/feedback/Roomba/missionTelemetry_coverage_report 1
/roomba/feedback/Roomba/missionTelemetry_map_hypotheses 1
/roomba/feedback/Roomba/missionTelemetry_map_load 1
/roomba/feedback/Roomba/missionTelemetry_map_save 1
/roomba/feedback/Roomba/missionTelemetry_pmap_navigability 1
/roomba/feedback/Roomba/missionTelemetry_sensor_stats 1
/roomba/feedback/Roomba/missionTelemetry_tumor_classifier_report 1
/roomba/feedback/Roomba/missionTelemetry_vital_stats 1
/roomba/feedback/Roomba/missionTelemetry_vslam_report 1
/roomba/feedback/Roomba/mssnNavStats_nMssn 219
/roomba/feedback/Roomba/mssnNavStats_missionId 01FP02N740V193QPRKR4AJ3TGF
/roomba/feedback/Roomba/mssnNavStats_gLmk 137
/roomba/feedback/Roomba/mssnNavStats_lmk 69
/roomba/feedback/Roomba/mssnNavStats_reLc 0
/roomba/feedback/Roomba/mssnNavStats_plnErr none
/roomba/feedback/Roomba/mssnNavStats_mTrk 39
/roomba/feedback/Roomba/mssnNavStats_kdp 0
/roomba/feedback/Roomba/mssnNavStats_sfkdp 0
/roomba/feedback/Roomba/mssnNavStats_nmc 1
/roomba/feedback/Roomba/mssnNavStats_nmmc 1
/roomba/feedback/Roomba/mssnNavStats_nrmc 0
/roomba/feedback/Roomba/mssnNavStats_mpSt idle
/roomba/feedback/Roomba/mssnNavStats_l_drift 0
/roomba/feedback/Roomba/mssnNavStats_h_drift 0
/roomba/feedback/Roomba/mssnNavStats_l_squal 70
/roomba/feedback/Roomba/mssnNavStats_h_squal 0
/roomba/feedback/Roomba/name Roomba
/roomba/feedback/Roomba/noAutoPasses False
/roomba/feedback/Roomba/noPP False
/roomba/feedback/Roomba/openOnly False
/roomba/feedback/Roomba/pmapLearningAllowed True
/roomba/feedback/Roomba/pmaps [('tZaP5782Qgm_GBFviMOSZA', '211203T131834')]
/roomba/feedback/Roomba/pmapCL True
/roomba/feedback/Roomba/pmapShare_copy [1, 4]
/roomba/feedback/Roomba/rankOverlap 15
/roomba/feedback/Roomba/reflexSettings_rlWheelDrop_enabled 0
/roomba/feedback/Roomba/sceneRecog 1
/roomba/feedback/Roomba/schedHold False
/roomba/feedback/Roomba/secureBoot_log 2
/roomba/feedback/Roomba/secureBoot_flip 0
/roomba/feedback/Roomba/secureBoot_sbl1Ver B3.2.0_PPUB
/roomba/feedback/Roomba/secureBoot_stublVer B3.2.02_PPUB
/roomba/feedback/Roomba/secureBoot_efuse 1
/roomba/feedback/Roomba/secureBoot_blType 1
/roomba/feedback/Roomba/secureBoot_enforce 2
/roomba/feedback/Roomba/secureBoot_lastRst 200000001
/roomba/feedback/Roomba/secureBoot_recov linux+3.9.8.2-adb-hf+lewis-release-rt321+13
/roomba/feedback/Roomba/secureBoot_idSwitch 0
/roomba/feedback/Roomba/secureBoot_permReq 0
/roomba/feedback/Roomba/secureBoot_perm none
/roomba/feedback/Roomba/sku i715640
/roomba/feedback/Roomba/smartHome_homeMonitoringAllowed False
/roomba/feedback/Roomba/softwareVer lewis+3.20.7+lewis-release-rt421+11
/roomba/feedback/Roomba/streamingVideoStatus None
/roomba/feedback/Roomba/subModSwVer_nav lewis-nav+3.20.7+ubuntu-HEAD-ccd5309dd8b+11
/roomba/feedback/Roomba/subModSwVer_mob 3.20.7+ubuntu-HEAD-ccd5309dd8b+11
/roomba/feedback/Roomba/subModSwVer_pwr 0.6.0+ubuntu-HEAD-ccd5309dd8b+11
/roomba/feedback/Roomba/subModSwVer_sft 1.4.0+ubuntu-HEAD-9a9a5d0c891+36
/roomba/feedback/Roomba/subModSwVer_mobBtl 4.0
/roomba/feedback/Roomba/subModSwVer_linux linux+4.0.3.4+lewis-release-rt421+11
/roomba/feedback/Roomba/subModSwVer_con 3.13.0.1-tags/release-3.13.0.1@fb33663f/ubuntu
/roomba/feedback/Roomba/svcEndpoints_svcDeplId v007
/roomba/feedback/Roomba/timezone Europe/Brussels
/roomba/feedback/Roomba/tls_tzbChk 1
/roomba/feedback/Roomba/tls_privKType 1
/roomba/feedback/Roomba/tls_lcCiphers [0, 0, 0, 0, 0, 0, 0, 50380848, 50380847, 50331708]
/roomba/feedback/Roomba/twoPass False
/roomba/feedback/Roomba/tz_events [('dt', 1633089600), ('off', 120), ('dt', 1635642001), ('off', 60), ('dt', 1648342801), ('off', 120)]
/roomba/feedback/Roomba/tz_ver 12
/roomba/feedback/Roomba/vacHigh False
/roomba/feedback/Roomba/wDevLoc False
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/netinfo_dhcp True
/roomba/feedback/Roomba/netinfo_addr 192.168.0.183
/roomba/feedback/Roomba/netinfo_mask 255.255.255.0
/roomba/feedback/Roomba/netinfo_gw 192.168.0.1
/roomba/feedback/Roomba/netinfo_dns1 192.168.0.1
/roomba/feedback/Roomba/netinfo_dns2 0.0.0.0
/roomba/feedback/Roomba/netinfo_bssid 30:23:03:6c:78:6f
/roomba/feedback/Roomba/netinfo_sec 4
/roomba/feedback/Roomba/signal_rssi -46
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -60
/roomba/feedback/Roomba/wifistat_cloud 14
/roomba/feedback/Roomba/wifistat_wifi 1
/roomba/feedback/Roomba/wifistat_uap False
/roomba/feedback/Roomba/wlcfg_sec 4
/roomba/feedback/Roomba/wlcfg_ssid 46696C69702D74656C656E65742D4638364541
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -47
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -61
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -46
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -60
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -47
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -61
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -46
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -60
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -47
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -61
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -46
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -60
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -47
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -61
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -46
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -60
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -47
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -61
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -46
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -60
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -47
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -61
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -46
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -60
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -47
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -61
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -46
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -60
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -47
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -61
/roomba/feedback/Roomba/state Charging
/roomba/feedback/Roomba/signal_rssi -46
/roomba/feedback/Roomba/signal_snr 14
/roomba/feedback/Roomba/signal_noise -60
/roomba/feedback/Roomba/state Charging

@astrapowerrr
Copy link
Author

simpel and short answer:
bash: mosquitto_sub: opdracht niet gevonden

and with sudo i get:
sudo: mosquitto_sub: opdracht niet gevonden

@FilipDem
Copy link
Owner

FilipDem commented Dec 4, 2021

You have to install it then of course. This is basic mqtt.

@astrapowerrr
Copy link
Author

i have done that... like it is in the description?

@astrapowerrr
Copy link
Author

pi@raspberrypi:~ $ sudo pip3 install paho-mqtt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: paho-mqtt in /usr/local/lib/python3.7/dist-packages (1.6.1)
pi@raspberrypi:~ $ sudo apt install mosquitto
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
mosquitto is reeds de nieuwste versie (2.0.10-0mosquitto1~buster1).
De volgende pakketten zijn automatisch geïnstalleerd en zijn niet langer nodig:
aufs-dkms aufs-tools dkms libexiv2-14 libgfortran3 libgmime-2.6-0 libmicrodns0 libwebsockets8 linux-headers-3.6-trunk-common linux-headers-3.6-trunk-rpi linux-kbuild-3.6 uuid-dev
Gebruik 'sudo apt autoremove' om ze te verwijderen.
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 250 niet opgewaardeerd.

@astrapowerrr
Copy link
Author

astrapowerrr commented Dec 4, 2021

Place your local configuration in /etc/mosquitto/conf.d/

A full description of the configuration file is at

/usr/share/doc/mosquitto/examples/mosquitto.conf.gz

pid_file /run/mosquitto/mosquitto.pid

persistence false
persistence_location /var/lib/mosquitto/

log_dest none

include_dir /etc/mosquitto/conf.d

i think here it goes wrong.
think this conf file has to be in the conf.d folder. but it wont let me copy...

@FilipDem
Copy link
Owner

FilipDem commented Dec 4, 2021

sudo...

@astrapowerrr
Copy link
Author

astrapowerrr commented Dec 4, 2021

i see this not good i think is it?

pi@raspberrypi:~ $ /etc/mosquitto/mosquitto.conf
/etc/mosquitto/mosquitto.conf: regel 6: pid_file: opdracht niet gevonden
/etc/mosquitto/mosquitto.conf: regel 8: persistence: opdracht niet gevonden
/etc/mosquitto/mosquitto.conf: regel 9: persistence_location: opdracht niet gevonden
/etc/mosquitto/mosquitto.conf: regel 11: log_dest: opdracht niet gevonden
/etc/mosquitto/mosquitto.conf: regel 13: include_dir: opdracht niet gevonden
pi@raspberrypi:~ $

can you give me an example of how is should look like.?

@FilipDem
Copy link
Owner

FilipDem commented Dec 4, 2021

This is not an executable, but a configuration file... You cannot execute it.
If you don't get any basic on Linux, it will be difficult. I suppose you will need to do a bit of research.

@astrapowerrr
Copy link
Author

astrapowerrr commented Dec 4, 2021

like i told. dont know how it all works.. just follow instructions and then it kinda stops and i do not have a linux background or so..
but i dont know what i am doing wrong? did exact what you say in the description.

can you point me in any direction... google is red hot now but im getting lost in all this linux talk

i found out that i needed also to install clients so i used apt-get install mosquitto-clients/#
hope that was correct.

but now when using mosquitto_sub -v -t /roomba/feedback/#
nothing happens... its just stays blank.

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

2 participants