msev
Members-
Posts
83 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by msev
-
Tutorial I2S on Orange Pi H3
msev replied to Da Alchemist's topic in Reviews, Tutorials, Hardware hacks
Would such a DAC work too -> http://www.ebay.com/itm/Beyond-ES9023-PCM1794-I2S-PCM5102-DAC-Decoder-I2S-Player-Module-For-Raspberry-Pi-/131945348326?hash=item1eb88e3ce6:g:t5gAAOSwPCVX4l6L? Since it uses the same chip but looks a bit different. -
So are you gonna do both now? The WiringOPI for OPI-0 or the Rpi.gpio? Would be nice if both were available, but I know you do it in your free time and your free time is probably limited, so I'm happy in any case . Since there are project online for the raspberry that use WiringPi and projects that use Rpi.GPIO. Btw sincerly thanks for doing it!
-
Orange PI PC Plus + hostapd only 72 instead of 150 mbps
msev replied to ChAoSWK's topic in Allwinner sunxi
Could someone test wifi range, how much meters from outside the house the OPI PC Plus would still connect to the home wifi network? -
So are you saying it should be plug and play and work out of the box, no messing with the code, I should just know which pin I should connect to?
-
Has anyone tested if Wiring-OPI works with this board? Thanks!
-
General pointers for compatibility of Rpi code on Opi?
msev replied to msev's topic in Allwinner sunxi
Thanks! What about regarding camera support, here its a bit lacking right since the Rpi guys have access to some proprietary binary blobs right? -
Hvala! Yes, or a VPN right?
-
General pointers for compatibility of Rpi code on Opi?
msev replied to msev's topic in Allwinner sunxi
So everything should be compatible with minor tweaking of code? -
Yes but I use the server version of armbian, I don't need whole desktop. I would just like to get to some webpages which I have them on my local network (node-red ui, mopidy ui), and ssh into the orange pi?
-
So if I wanted to connect from smartphone via 3g to Node-red, Mopidy or Mycroft or other stuff what would be the easiest way to do... I'd require a letsencrypt cert right? So I can https the stuff? And then later no-ip.com? Could someone help me step by step please?
-
So you guys that have more experience, what should I be looking at, when I find some code that runs on a Raspberry Pi to verify that it will also run on the Orange Pi PC? If I find some interesting code on Github for example . Regarding GPIO I think there shouldn't be any problem, since we have WiringOPI and that py20a or how its called. But what about i2c lcd's, max7219 matrix displays, other stuff? How does it differ the compatibility of boards between python and C code?
-
Arox you aren't reading carefully enough ...He said "with two RPI3 as image processing and Lamobo R1 as storage" So that are 3 boards .
-
It looks super nice, but dunno so you needed 3 arm boards. Maybe its better to buy 1 intel-pc-stick , what do you think .
-
How well would such a package like Zoneminder even work on a arm based computer like Orange Pi PC, has someone got any ideas?
-
Tutorial Configuring Orange PI PC to receive IR/InfraRed
msev replied to AnonymousPi's topic in Reviews, Tutorials, Hardware hacks
Thanks Kevin. -
Tutorial Configuring Orange PI PC to receive IR/InfraRed
msev replied to AnonymousPi's topic in Reviews, Tutorials, Hardware hacks
Is it possible to bind this lirc to some python script or something? Or how someone could intercept these button press events and then pipe them somewhere else where they could be used to trigger stuff? -
Yeah its probably that since if I do #self.speak_dialog('slo.news') It then plays the mp3 everytime from the script. Also if i do it like this everything works: def handle_intent(self, message): try: self.speak_dialog('slo.news') time.sleep(2) data = feedparser.parse(self.url_rss) time.sleep(5) self.process = play_mp3(data['entries'][0]['links'][0]['href'])
-
I figured out that i can't run two terminals with mpg123 i get the same error (i'm running alsa not pulseaudio): msev@orangepipc:~$ mpg123 http://videoweb.rtvslo.si/podcast/ava_archive03/2016/09/05/Drugajutranjakronika38b3bdd8.mp3 [jack.c:252] error: Failed to open jack client: 0x1 [jack.c:58] warning: FIXME: One needs to wait or write some silence here to prevent the last bits of audio to vanish out of the ringbuffer. Segmentation fault Regarding python. Still doesn't work. Now we have different errors 2016-09-06 11:35:57,296 - Skills - DEBUG - {"message_type": "speak", "context": null, "metadata": {"utterance": "Sorry, I don't understand the phrase "}} 2016-09-06 11:35:57,347 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_start", "context": null, "metadata": {}} 2016-09-06 11:36:02,506 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_end", "context": null, "metadata": {}} 2016-09-06 11:36:02,806 - Skills - DEBUG - {"message_type": "recognizer_loop:utterance", "context": null, "metadata": {"utterances": ["news"]}} 2016-09-06 11:36:02,821 - Skills - DEBUG - {"message_type": "SLONewsIntent", "context": {"target": null}, "metadata": {"SLONewsKeyword": "news", "intent_type": "SLONewsIntent", "utterance": "news", "confidence": 1.0, "target": null}} 2016-09-06 11:36:04,177 - Skills - DEBUG - {"message_type": "speak", "context": null, "metadata": {"utterance": "Here is the top of the morning news from Slovenia."}} 2016-09-06 11:36:04,183 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_start", "context": null, "metadata": {}} [alsa.c:170] error: cannot open device default [audio.c:643] error: failed to open audio device [audio.c:180] error: Unable to find a working output module in this list: alsa [audio.c:545] error: Failed to open audio output module [mpg123.c:913] error: Failed to initialize output, goodbye. 2016-09-06 11:36:11,617 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_end", "context": null, "metadata": {}} 2016-09-06 11:36:35,483 - Skills - DEBUG - {"message_type": "recognizer_loop:utterance", "context": null, "metadata": {"utterances": ["news"]}} 2016-09-06 11:36:35,492 - Skills - DEBUG - {"message_type": "SLONewsIntent", "context": {"target": null}, "metadata": {"SLONewsKeyword": "news", "intent_type": "SLONewsIntent", "utterance": "news", "confidence": 1.0, "target": null}} 2016-09-06 11:36:36,701 - Skills - DEBUG - {"message_type": "speak", "context": null, "metadata": {"utterance": "Here is the top of the morning news from Slovenia."}} 2016-09-06 11:36:36,706 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_start", "context": null, "metadata": {}} [alsa.c:170] error: cannot open device default [audio.c:643] error: failed to open audio device [audio.c:180] error: Unable to find a working output module in this list: alsa [audio.c:545] error: Failed to open audio output module [mpg123.c:913] error: Failed to initialize output, goodbye. 2016-09-06 11:36:44,143 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_end", "context": null, "metadata": {}} 2016-09-06 11:36:54,091 - Skills - DEBUG - {"message_type": "recognizer_loop:utterance", "context": null, "metadata": {"utterances": ["news"]}} 2016-09-06 11:36:54,101 - Skills - DEBUG - {"message_type": "SLONewsIntent", "context": {"target": null}, "metadata": {"SLONewsKeyword": "news", "intent_type": "SLONewsIntent", "utterance": "news", "confidence": 1.0, "target": null}} 2016-09-06 11:36:55,358 - Skills - DEBUG - {"message_type": "speak", "context": null, "metadata": {"utterance": "Here is this morning's news from Slovenia."}} 2016-09-06 11:36:55,363 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_start", "context": null, "metadata": {}} [alsa.c:170] error: cannot open device default [audio.c:643] error: failed to open audio device [audio.c:180] error: Unable to find a working output module in this list: alsa [audio.c:545] error: Failed to open audio output module [mpg123.c:913] error: Failed to initialize output, goodbye. 2016-09-06 11:37:01,066 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_end", "context": null, "metadata": {}} 2016-09-06 11:37:04,891 - Skills - DEBUG - {"message_type": "recognizer_loop:utterance", "context": null, "metadata": {"utterances": ["news"]}} 2016-09-06 11:37:04,900 - Skills - DEBUG - {"message_type": "SLONewsIntent", "context": {"target": null}, "metadata": {"SLONewsKeyword": "news", "intent_type": "SLONewsIntent", "utterance": "news", "confidence": 1.0, "target": null}} 2016-09-06 11:37:06,118 - Skills - DEBUG - {"message_type": "speak", "context": null, "metadata": {"utterance": "Here is this morning's news from Slovenia."}} 2016-09-06 11:37:06,154 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_start", "context": null, "metadata": {}} [alsa.c:170] error: cannot open device default [audio.c:643] error: failed to open audio device [audio.c:180] error: Unable to find a working output module in this list: alsa [audio.c:545] error: Failed to open audio output module [mpg123.c:913] error: Failed to initialize output, goodbye. 2016-09-06 11:37:11,871 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_end", "context": null, "metadata": {}} 2016-09-06 11:37:18,887 - mycroft.messagebus.client.ws - ERROR - Exception("Uncaught 'error' event.",) 2016-09-06 11:37:18,888 - mycroft.messagebus.client.ws - WARNING - Disconnecting on error, reconnecting in 1 seconds.
-
Nice, gonna try that and report back
-
So I'm trying to modify a certain Mycroft skill (python) to be able to play local news. Here is the commit: https://github.com/marksev1/mycroft-core/commit/164c7207374131ece23a8ddf40c7a7981f3c7084 And this python script uses mpg123 to play the mp3 from the url. 1.) If I play the mp3 in the url from the terminal normally it plays every time. 2.) If I'd try to play it from that python script it only randomly plays and in the meantime i get errors regarding jack. See here, first time it succeeded then it failed multiple times: 2016-09-05 14:11:02,437 - Skills - DEBUG - {"message_type": "speak", "context": null, "metadata": {"utterance": "Here is the top of the morning news from Slovenia."}} 2016-09-05 14:11:04,005 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_end", "context": null, "metadata": {}} 2016-09-05 14:11:04,008 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_start", "context": null, "metadata": {}} High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.20.1; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes Directory: http://videoweb.rtvslo.si/podcast/ava_archive03/2016/09/05/ Playing MPEG stream 1 of 1: Drugajutranjakronika38b3bdd8.mp3 ... MPEG 1.0 layer III, 128 kbit/s, 48000 Hz joint-stereo 2016-09-05 14:11:06,860 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_end", "context": null, "metadata": {}} 2016-09-05 14:11:16,490 - Skills - DEBUG - {"message_type": "recognizer_loop:utterance", "context": null, "metadata": {"utterances": ["stop"]}} 2016-09-05 14:11:16,501 - Skills - DEBUG - {"message_type": "StopIntent", "context": {"target": null}, "metadata": {"StopKeyword": "stop", "intent_type": "StopIntent", "utterance": "stop", "confidence": 1.0, "target": null}} 2016-09-05 14:11:16,506 - Skills - DEBUG - {"message_type": "mycroft.stop", "context": null, "metadata": {}} 2016-09-05 14:11:16,514 - Skills - DEBUG - {"message_type": "speak", "context": null, "metadata": {"utterance": "news playback ended"}} 2016-09-05 14:11:16,567 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_start", "context": null, "metadata": {}} 2016-09-05 14:11:20,427 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_end", "context": null, "metadata": {}} 2016-09-05 14:11:21,025 - Skills - DEBUG - {"message_type": "recognizer_loop:utterance", "context": null, "metadata": {"utterances": ["news"]}} 2016-09-05 14:11:21,033 - Skills - DEBUG - {"message_type": "SLONewsIntent", "context": {"target": null}, "metadata": {"SLONewsKeyword": "news", "intent_type": "SLONewsIntent", "utterance": "news", "confidence": 1.0, "target": null}} 2016-09-05 14:11:22,330 - Skills - DEBUG - {"message_type": "speak", "context": null, "metadata": {"utterance": "Here is this morning's news from Slovenia."}} 2016-09-05 14:11:22,391 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_start", "context": null, "metadata": {}} [jack.c:252] error: Failed to open jack client: 0x1 [jack.c:58] warning: FIXME: One needs to wait or write some silence here to prevent the last bits of audio to vanish out of the ringbuffer. 2016-09-05 14:11:28,094 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_end", "context": null, "metadata": {}} 2016-09-05 14:11:49,225 - Skills - DEBUG - {"message_type": "recognizer_loop:utterance", "context": null, "metadata": {"utterances": ["stop"]}} 2016-09-05 14:11:49,236 - Skills - DEBUG - {"message_type": "StopIntent", "context": {"target": null}, "metadata": {"StopKeyword": "stop", "intent_type": "StopIntent", "utterance": "stop", "confidence": 1.0, "target": null}} 2016-09-05 14:11:49,241 - Skills - DEBUG - {"message_type": "mycroft.stop", "context": null, "metadata": {}} 2016-09-05 14:11:56,488 - Skills - DEBUG - {"message_type": "recognizer_loop:utterance", "context": null, "metadata": {"utterances": ["news"]}} 2016-09-05 14:11:56,498 - Skills - DEBUG - {"message_type": "SLONewsIntent", "context": {"target": null}, "metadata": {"SLONewsKeyword": "news", "intent_type": "SLONewsIntent", "utterance": "news", "confidence": 1.0, "target": null}} 2016-09-05 14:11:57,787 - Skills - DEBUG - {"message_type": "speak", "context": null, "metadata": {"utterance": "Here is the top of the morning news from Slovenia."}} 2016-09-05 14:11:57,929 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_start", "context": null, "metadata": {}} [jack.c:252] error: Failed to open jack client: 0x1 [jack.c:58] warning: FIXME: One needs to wait or write some silence here to prevent the last bits of audio to vanish out of the ringbuffer. 2016-09-05 14:12:04,471 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_end", "context": null, "metadata": {}} 2016-09-05 14:12:11,712 - Skills - DEBUG - {"message_type": "recognizer_loop:utterance", "context": null, "metadata": {"utterances": ["stop"]}} 2016-09-05 14:12:11,721 - Skills - DEBUG - {"message_type": "StopIntent", "context": {"target": null}, "metadata": {"StopKeyword": "stop", "intent_type": "StopIntent", "utterance": "stop", "confidence": 1.0, "target": null}} 2016-09-05 14:12:11,728 - Skills - DEBUG - {"message_type": "mycroft.stop", "context": null, "metadata": {}} 2016-09-05 14:12:14,560 - Skills - DEBUG - {"message_type": "recognizer_loop:utterance", "context": null, "metadata": {"utterances": ["news"]}} 2016-09-05 14:12:14,570 - Skills - DEBUG - {"message_type": "SLONewsIntent", "context": {"target": null}, "metadata": {"SLONewsKeyword": "news", "intent_type": "SLONewsIntent", "utterance": "news", "confidence": 1.0, "target": null}} 2016-09-05 14:12:15,866 - Skills - DEBUG - {"message_type": "speak", "context": null, "metadata": {"utterance": "Here is the top of the morning news from Slovenia."}} 2016-09-05 14:12:15,871 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_start", "context": null, "metadata": {}} [jack.c:252] error: Failed to open jack client: 0x1 [jack.c:58] warning: FIXME: One needs to wait or write some silence here to prevent the last bits of audio to vanish out of the ringbuffer. 2016-09-05 14:12:23,311 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_end", "context": null, "metadata": {}} 2016-09-05 14:12:28,055 - Skills - DEBUG - {"message_type": "recognizer_loop:utterance", "context": null, "metadata": {"utterances": ["stop"]}} 2016-09-05 14:12:28,064 - Skills - DEBUG - {"message_type": "StopIntent", "context": {"target": null}, "metadata": {"StopKeyword": "stop", "intent_type": "StopIntent", "utterance": "stop", "confidence": 1.0, "target": null}} 2016-09-05 14:12:28,069 - Skills - DEBUG - {"message_type": "mycroft.stop", "context": null, "metadata": {}} 2016-09-05 14:12:29,447 - Skills - DEBUG - {"message_type": "recognizer_loop:utterance", "context": null, "metadata": {"utterances": ["news"]}} 2016-09-05 14:12:29,455 - Skills - DEBUG - {"message_type": "SLONewsIntent", "context": {"target": null}, "metadata": {"SLONewsKeyword": "news", "intent_type": "SLONewsIntent", "utterance": "news", "confidence": 1.0, "target": null}} 2016-09-05 14:12:30,784 - Skills - DEBUG - {"message_type": "speak", "context": null, "metadata": {"utterance": "Here is the top of the morning news from Slovenia."}} 2016-09-05 14:12:30,905 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_start", "context": null, "metadata": {}} [jack.c:252] error: Failed to open jack client: 0x1 [jack.c:58] warning: FIXME: One needs to wait or write some silence here to prevent the last bits of audio to vanish out of the ringbuffer. 2016-09-05 14:12:38,300 - Skills - DEBUG - {"message_type": "recognizer_loop:audio_output_end", "context": null, "metadata": {}} 2016-09-05 14:12:40,936 - Skills - DEBUG - {"message_type": "recognizer_loop:utterance", "context": null, "metadata": {"utterances": ["stop"]}} 2016-09-05 14:12:40,946 - Skills - DEBUG - {"message_type": "StopIntent", "context": {"target": null}, "metadata": {"StopKeyword": "stop", "intent_type": "StopIntent", "utterance": "stop", "confidence": 1.0, "target": null}} 2016-09-05 14:12:40,951 - Skills - DEBUG - {"message_type": "mycroft.stop", "context": null, "metadata": {}} Can someone please help me debug I don't even know to which "jack" package this error is reffering, since I think I'm even not using this jack package...
-
Tutorial Configuring Orange PI PC to receive IR/InfraRed
msev replied to AnonymousPi's topic in Reviews, Tutorials, Hardware hacks
Thank you for this tutorial! I shall try to follow your footsteps . -
Thanks lanefu, you are a real help - also that wiringopi tutorial you made is awesome (its on my todo list to try it out )! What about this project https://github.com/rszimm/sprinklers_pi, it has WiringPi inside not Rpi,Gpio, so it should work with WiringOPI out of the box right? Thanks!