Go to advanced search

by tadder
Wed Jan 02, 2019 6:41 pm
Forum: The MagPi
Topic: Hack Smart Lights Magpi 76
Replies: 9
Views: 1607

Re: Hack Smart Lights Magpi 76

Many thanks, it now works and I can't thank you enough for your assistance. The answer does leave me with a little egg on my face, but in the spirit of sharing so no one else does the same: Rebooted gateway - no change. Revisited python3 -i -m pytradfri 192.168.1.XX Thoughts !!! - hang on that IP is...
by tadder
Wed Jan 02, 2019 4:18 pm
Forum: The MagPi
Topic: Hack Smart Lights Magpi 76
Replies: 9
Views: 1607

Re: Hack Smart Lights Magpi 76

Hi again,

Putting in a code block still exceeded the character count, however, your other idea (new to me) seems to work so perhaps you can try:

https://pastebin.com/hCT6sD2g

Thank you.
by tadder
Wed Jan 02, 2019 4:06 pm
Forum: General discussion
Topic: Attachment File Extension
Replies: 2
Views: 141

Re: Attachment File Extension

Thank you, that exactly why I am attempting to send this as the total character count exceeds the maximum. So it won't go in the body
However I have read elsewhere that packing the file in a ZIP will work, so will give this a try.

Thanks for your reply
by tadder
Wed Jan 02, 2019 4:02 pm
Forum: The MagPi
Topic: Hack Smart Lights Magpi 76
Replies: 9
Views: 1607

Re: Hack Smart Lights Magpi 76

Thanks for your reply, I have read in the General Section that ZIPing will work, so attached is my text file compressed.
In the meantime, I will research how to try your other suggestions.

The file contains the complete Verbatim output so all errors are included.

Many thanks
by tadder
Wed Jan 02, 2019 3:38 pm
Forum: General discussion
Topic: Attachment File Extension
Replies: 2
Views: 141

Attachment File Extension

I am trying to attach some code output to a reply. This output is in a txt file (and pdf) but I always get the error " Invalid File Extension"
Does anyone know what I am doing wrong?
by tadder
Wed Jan 02, 2019 3:15 pm
Forum: The MagPi
Topic: Hack Smart Lights Magpi 76
Replies: 9
Views: 1607

Re: Hack Smart Lights Magpi 76

Thank you very much for your response. This morning I flashed my SD card with Raspbian Stretch and started from scratch. The entire output is below. Sorry, it's a bit long but it's difficult for me to know exactly what bits are relevant. The instructions in 05 Learning to CoAP. state that I should "...
by tadder
Tue Jan 01, 2019 12:16 pm
Forum: The MagPi
Topic: Hack Smart Lights Magpi 76
Replies: 9
Views: 1607

Hack Smart Lights Magpi 76

Following a successful visit to Ikea I now own the required hardware as suggested by PJ Evans. I have carried out the setup procedure as described in Section 5, although not entirely happy that this was successful. Then for the big moment Section 6 Opening a communications channel appears to complet...
by tadder
Mon Jun 27, 2016 7:05 pm
Forum: The MagPi
Topic: Help Wanted Issue 46 Page 32 Internet Radio
Replies: 12
Views: 3564

Re: Help Wanted Issue 46 Page 32 Internet Radio

Your code worked perfectly, thank you. As a newcomer you tend to assume that anything technical printed in a glossy magazine will have been checked before publication and therefore if it doesn’t work it must be your own fault. If nothing else this experience teaches me to approach all articles with ...
by tadder
Sat Jun 25, 2016 8:45 pm
Forum: The MagPi
Topic: Help Wanted Issue 46 Page 32 Internet Radio
Replies: 12
Views: 3564

Re: Help Wanted Issue 46 Page 32 Internet Radio

Thanks a lot for your assistance, really appreciated.
Unfortunately I won't be able to try it out until Monday evening, but I will let you know how it goes.
Thanks again
Tadder
by tadder
Sat Jun 25, 2016 7:30 pm
Forum: The MagPi
Topic: Help Wanted Issue 46 Page 32 Internet Radio
Replies: 12
Views: 3564

Re: Help Wanted Issue 46 Page 32 Internet Radio

Thanks, actually after looking at the code maybe the logic is flawed? The main program continually polls the value from the pot, but this means that every time the while True loop is entered the program carries out the "killall mplayer" process followed by "mplayer -playlist " + station + 2 " &" reg...
by tadder
Sat Jun 25, 2016 5:08 pm
Forum: The MagPi
Topic: Help Wanted Issue 46 Page 32 Internet Radio
Replies: 12
Views: 3564

Re: Help Wanted Issue 46 Page 32 Internet Radio

Try downloading the code from http://magpi.cc/1OG2Y9i Thank you for your continuing help. I have downloaded as suggsted, but no change, no sound until I kill the program, at which point stream from selected channed is played. Just a thought, I am running this on a PI 3, the original was on a PI 2, ...
by tadder
Sat Jun 25, 2016 3:07 pm
Forum: The MagPi
Topic: Help Wanted Issue 46 Page 32 Internet Radio
Replies: 12
Views: 3564

Re: Help Wanted Issue 46 Page 32 Internet Radio

Thanks for the response, I should have mentioned that I had noticed this omission and the MCP 3008 is in fact powered, with an output max of 0.48. I did however have to connect VREF to VDD to get any output.

I still can’t see why I get an audio output only after closing the program.

Tadder
by tadder
Sat Jun 25, 2016 2:14 pm
Forum: The MagPi
Topic: Help Wanted Issue 46 Page 32 Internet Radio
Replies: 12
Views: 3564

Help Wanted Issue 46 Page 32 Internet Radio

Issue 46 Page 32 Internet Radio, schematic I believe should show MCP3008 pins VDD and V_REF connected together. Without this mod the output from CH0 does not vary. Also the maximum output appears to be around 0.48, so I have changed the test on line 16 of the program to >= 0.4, and on line 19 to <0....
by tadder
Sun Jun 12, 2016 5:43 pm
Forum: The MagPi
Topic: STICKY: Errata
Replies: 54
Views: 59237

Re: Errata

Issue 46 Page 32 Internet Radio, schematic I believe should show MCP3008 pins VDD and V_REF connected together. Without this mod the output from CH0 does not vary. Also the maximum output appears to be around 0.48, so I have changed the test on line 16 of the program to >= 0.4, and on line 19 to <0....

Go to advanced search