Comments (13)
Yes, you must be right, I didn't remember any problem on the Mark I. If I have the opportunity, I'll try it on another non-archlinux distro
from communications-skill.
from communications-skill.
I cloned the master version today, so I guess the id is a0ae13f.
Mycroft core is also the latest, 19.2.14
from communications-skill.
Well, I did nothing on my Mark I and it doesn't complain now when I say "Announce that "Dinner is ready"". I fact now it responds "Alright, I'll broadcast that to all your devices." or "I'm announcing that now"
But I cannot hear anything on the other mycroft instances, instances where when I say "Announce that "Dinner is ready"" answer with the typical responses "I'm sorry, I don't understand" or "Please rephrase your request."
My Mark I is on wifi while the other mycroft instance is my computer on the same lan, but with ethernet cable. I will wait a while and restart mycroft-core several times on the computer to see if finally can communicate between them.
PS: on the computer's side, it seems to load the skill
21:01:48.569 - Communications - INFO - New Mycroft Communications device at: 192.168.1.131
21:01:48.623 - Communications - INFO - Done connecting to device
21:01:49.281 - Communications - INFO - New Mycroft Communications device at: 192.168.1.10
21:01:49.287 - Communications - INFO - Done connecting to device
PS2: After a while, announces are working!!!!! 🥂
from communications-skill.
from communications-skill.
arrrgggh, I went to make the dinner and now receiving computer doesn't receive the announce!!
After restarting mycroft-core on the computer twice, it began to work again... I see nothing of interest on the logs, they alway say
23:58:57.387 - Communications - INFO - New Mycroft Communications device at: 192.168.1.131
23:58:57.409 - Communications - INFO - Done connecting to device
23:58:58.200 - Communications - INFO - New Mycroft Communications device at: 192.168.1.10
23:58:58.205 - Communications - INFO - Done connecting to device
But after a while, it stops announcing from Mark I
I also noticed the high CPU usage when this skill is loaded. Usually, mycroft-core python3 process uses 1 ~ 2% CPU, just by putting the skill on /opt/mycroft/skills and letting mycroft load it, CPU arises up to 12 ~ 13% usage (I'm on a i7 CPU)
On the Mark I is even worse, when the skill is loaded, mycroft-skills process eats a entire CPU of the RPi, while when it isn't loaded, CPU usage is between 16% to 30%.
Something is eating CPU cycles...
from communications-skill.
from communications-skill.
Yes, those two devices are my Mark I (wlan0 192.168.1.131) and my computer (enp3s0 192.168.1.10), so the network interface names is working.
I've uninstalled the skill on both devices, just to confirm the CPU eating of the communications-skill, and re-added back.
On the Mark I it seems to be loaded just fine, and only showed the message
00:58:57.387 - Communications - INFO - New Mycroft Communications device at: 192.168.1.131
On the computer, the skill didn't log any output, so I restarted the mycroft-core on the computer The second attempt seems to show on both devices the log
01:08:50.455 - mycroft.skills.core:load_skill:151 - INFO - Loaded communications-skill
01:08:51.440 - Communications - INFO - New Mycroft Communications device at: 192.168.1.131
01:08:51.477 - Communications - INFO - Done connecting to device
01:08:52.093 - Communications - INFO - New Mycroft Communications device at: 192.168.1.10
01:08:52.099 - Communications - INFO - Done connecting to device
But didn't work either, so I'd restarted the service on the computer once again, and then it worked.
01:09:28.520 - Communications - INFO - New intercom announcement incoming!: this is a test
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.25.11; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
Directory: /home/malevolent/development/mycroft-core/mycroft/res/snd/
Playing MPEG stream 1 of 1: acknowledge.mp3 ...
MPEG 1.0 L III cbr128 44100 stereo
[0:00] Decoding of acknowledge.mp3 finished.
from communications-skill.
from communications-skill.
from communications-skill.
okay thanks! Please let me know if this problem comes up again!
from communications-skill.
Yes, the subject of this thread seems to be reproducible... I've installed it now on a Manjaro Linux (Arch Linux based distro) and the py2p error arises again. After restarting mycroft-core several times, I decided to wait... and I tried again 1h later. Then skill starts without error...
I'm not a python expert so, could it be some kind of cache and it complains of the py2p missing library even it is installed? Perhaps is something related to arch linux...
from communications-skill.
I bet that this is related to your environment - The skill works fine on picroft/mark 1
from communications-skill.
Related Issues (11)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from communications-skill.