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

Satellite Config Own Mqtt broker #5

Open
jbperrin88 opened this issue Oct 22, 2020 · 0 comments
Open

Satellite Config Own Mqtt broker #5

jbperrin88 opened this issue Oct 22, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jbperrin88
Copy link

Hello there !

I've seen that when you start for the first time Alice Satellite , it get it's configuration from a master device.

When you use your own Mqtt Broker and not Alice Master itself , the Satellite configuration is wrong.

My master IP is : 192.168.2.247
My MQTT broker ip : 192.168.2.248

Alice Master Log :
[ThreadManager] Started new thread broadcast, thread count: 12 [SkillManager] The intent "AddComponent" was consumed by AliceCore [GoogleTts] Using existing cached file e0dbb721935c5855ad215e6e188762d4 [AliceSatellite] No device query received [AliceSatellite] No device query received [AliceSatellite] No device query received [AliceSatellite] Device with uid 63d41189-8395-4ede-8209-0a937970f597 successfully paired [AliceSatellite] Stopped broadcasting for new devices [GoogleTts] Using existing cached file 557465e291f72b62b0240d4a4eae29a4 [WakewordRecorder] Cleaning up hey_snips [WakewordRecorder] Packing wakeword hey_snips [HotwordUploadThread] Waiting for a device to connect [ThreadManager] Cleaned 5 dead timers [ThreadManager] Cleaned 4 dead threads [SkillManager] Checking for skill updates

Alice Satellite Log :
Oct 22 11:37:33 PataPiAPlus3 systemd[1]: Started Project Alice Satellite. Oct 22 11:37:34 PataPiAPlus3 python3[1189]: TERM environment variable not set. Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[Initializer] Starting Project Alice Satellite initialization#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[Initializer] No initialization needed#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[Project Alice] Starting Alice satellite unit#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[CommonsManager] Initializing#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[ConfigManager] Initializing#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[ConfigManager] Checking Alice configuration file#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[ConfigManager] Loading Snips configuration file#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[DatabaseManager] Initializing#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[ThreadManager] Initializing#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[MqttManager] Initializing#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[TimeManager] Initializing#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[NetworkManager] Initializing#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[SnipsServicesManager] Initializing#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[HotwordManager] Initializing#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[CommonsManager] Starting#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[ConfigManager] Starting#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[DatabaseManager] Starting#033[0m Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[SnipsServicesManager] Starting#033[0m Oct 22 11:37:34 PataPiAPlus3 systemd[1]: Started Snips Satellite. Oct 22 11:37:34 PataPiAPlus3 snips-satellite[1215]: INFO:snips_satellite: Using site id : Chambre Oct 22 11:37:34 PataPiAPlus3 snips-satellite[1215]: ERROR:snips_satellite: could not load hotword models and sensitivities Oct 22 11:37:34 PataPiAPlus3 snips-satellite[1215]: -> caused by: No such file or directory (os error 2) Oct 22 11:37:34 PataPiAPlus3 snips-satellite[1215]: ERROR:rumqtt::client : snips-satellite|1215-PataPiAPlus3-1 Disconnected: (Error(SyncMpsc(Disconnected), State { next_error: None, backtrace: None })) Oct 22 11:37:34 PataPiAPlus3 snips-satellite[1215]: ERROR:snips_common_cli::cli: Unable to reconnect to the mqtt broker, ending the program. Oct 22 11:37:34 PataPiAPlus3 systemd[1]: snips-satellite.service: Main process exited, code=exited, status=1/FAILURE Oct 22 11:37:34 PataPiAPlus3 systemd[1]: snips-satellite.service: Failed with result 'exit-code'. Oct 22 11:37:34 PataPiAPlus3 python3[1189]: #033[39m[SnipsServicesManager] Service snips-satellite start'ed#033[0m

The file /home/pi/ProjectAlice/Config.py contains "mqttHost": "192.168.2.247" instead of "mqttHost": "192.168.2.248"

Best Regards

@Psychokiller1888 Psychokiller1888 self-assigned this Oct 22, 2020
@Psychokiller1888 Psychokiller1888 added the enhancement New feature or request label Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants