Greetings:
I am having fun with the Funhouse IOT Board.
I am experimenting with the MQTT example.
The guide, ‘Creating FunHouse Projects with CircuitPython
Created by Melissa LeBlanc-Williams’.
I have the software running and most every feature is working except the last feature test.
At the end of the example, the text mentions - set the color value to #FF0000 and the DotStars will light up to the color selected on the Funhouse. I do not know which block to select in setting up the Adafruit IO in order to send data back to the Funhouse board. How do you you send color data back to the Funhouse board? Do i use the color picker? If so how does it work?
Thanks
Tom
FunHouse MQTT example Guide Question
Moderators: adafruit_support_bill, adafruit
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
- mikeysklar
- Posts: 13822
- Joined: Mon Aug 01, 2016 8:10 pm
Re: FunHouse MQTT example Guide Question
Tom,
Is this the example code you are running on the Funhouse? It includes the necessary code block to update the dotstars.
https://github.com/adafruit/Adafruit_Ci ... io_mqtt.py
Is this the example code you are running on the Funhouse? It includes the necessary code block to update the dotstars.
https://github.com/adafruit/Adafruit_Ci ... io_mqtt.py
Code: Select all
if feed_id == "neopixels":
print(payload)
color = int(payload[1:], 16)
funhouse.peripherals.dotstars.fill(color)
- geotek
- Posts: 65
- Joined: Thu Mar 07, 2013 1:39 pm
Re: FunHouse MQTT example Guide Question
Greetings
I believe you miss understood my question.
I know the code for the Funhouse MQTT example is supposed to be able to control the Dostar LEDs on the Funhouse via some sort of control from the Adafruit IO page. How do I turn on the Dostars from From the Adafruit IO page Dashboard/Blocks? This is what I don’t understand?
Thanks
Tom
I believe you miss understood my question.
I know the code for the Funhouse MQTT example is supposed to be able to control the Dostar LEDs on the Funhouse via some sort of control from the Adafruit IO page. How do I turn on the Dostars from From the Adafruit IO page Dashboard/Blocks? This is what I don’t understand?
Thanks
Tom
- mikeysklar
- Posts: 13822
- Joined: Mon Aug 01, 2016 8:10 pm
Re: FunHouse MQTT example Guide Question
Tom,
Can you post a photo of your Adafruit IO dashboard?
Do you have the buzzer and neopixels feeds setup?
Can you post a photo of your Adafruit IO dashboard?
Do you have the buzzer and neopixels feeds setup?
- geotek
- Posts: 65
- Joined: Thu Mar 07, 2013 1:39 pm
Re: FunHouse MQTT example Guide Question
Greetings
I have all the feed sets up including the PIR,Pressure, Humidity,Temperature,buzzer and neopixels.
I set up the dashboards for all of the feeds except neopixels, because I am not sure how or what blocks to use. The MQTT example does not mention how you set the neopixels feed back to the Funhouse. I do not know how to activate the neopixel color from the Adafruit IO page.
Thanks
Tom
I have all the feed sets up including the PIR,Pressure, Humidity,Temperature,buzzer and neopixels.
I set up the dashboards for all of the feeds except neopixels, because I am not sure how or what blocks to use. The MQTT example does not mention how you set the neopixels feed back to the Funhouse. I do not know how to activate the neopixel color from the Adafruit IO page.
Thanks
Tom
- mikeysklar
- Posts: 13822
- Joined: Mon Aug 01, 2016 8:10 pm
Re: FunHouse MQTT example Guide Question
That is a good point that the Adafruit IO Dashboard setup for the LED control is not covered in the guide.
You can check out John Park's Funhouse Mail Slot Detector for an example of LED color control from the AIO Dashboard page using:
Dashboard Settings --> New Block --> Indicator block
You can check out John Park's Funhouse Mail Slot Detector for an example of LED color control from the AIO Dashboard page using:
Dashboard Settings --> New Block --> Indicator block
- geotek
- Posts: 65
- Joined: Thu Mar 07, 2013 1:39 pm
Re: FunHouse MQTT example Guide Question
Greetings
I believe the “Funhouse mail slot detector” will Not solve my problem in the that, the Funhouse sends data one-way to the Adafruit IO feed to indicate the mail. The MQTT example Iam trying to utilize sends sensor data to the Adafruit IO feeds But it can also send conditions from the Adafruit IO block panel back to the Funhouse to change colors on the DotStar LEDs. So I want to know how to SEND DATA from the Adafruit IO Dashboard BACK to the Funhouse? I got the buzzer to sound from the Dashboard but Cannot get the DotStar to change color from the Dashboard!
I believe the “Funhouse mail slot detector” will Not solve my problem in the that, the Funhouse sends data one-way to the Adafruit IO feed to indicate the mail. The MQTT example Iam trying to utilize sends sensor data to the Adafruit IO feeds But it can also send conditions from the Adafruit IO block panel back to the Funhouse to change colors on the DotStar LEDs. So I want to know how to SEND DATA from the Adafruit IO Dashboard BACK to the Funhouse? I got the buzzer to sound from the Dashboard but Cannot get the DotStar to change color from the Dashboard!
- Franklin97355
- Posts: 23902
- Joined: Mon Apr 21, 2008 2:33 pm
Re: FunHouse MQTT example Guide Question
This might be of use. https://adafruit-io-python-client.readt ... ver%20100. I don't have a funhouse so I couldn't test this.
- mikeysklar
- Posts: 13822
- Joined: Mon Aug 01, 2016 8:10 pm
Re: FunHouse MQTT example Guide Question
I will contact the guide author and inquite about a Funhouse MQTT DotStar example. Thank you for your patience.
- mikeysklar
- Posts: 13822
- Joined: Mon Aug 01, 2016 8:10 pm
Re: FunHouse MQTT example Guide Question
Melissa added some details about that Adafruit IO setup for controlling the Funhouse Dotstars from the dashboard.
https://learn.adafruit.com/creating-fun ... le-3094670
https://learn.adafruit.com/creating-fun ... le-3094670
- geotek
- Posts: 65
- Joined: Thu Mar 07, 2013 1:39 pm
Re: FunHouse MQTT example Guide Question
Greetings
Thanks for contacting Melissa on adding more info the Funhouse MQTT subscribe functions.
Tom
Thanks for contacting Melissa on adding more info the Funhouse MQTT subscribe functions.
Tom
- geotek
- Posts: 65
- Joined: Thu Mar 07, 2013 1:39 pm
Re: FunHouse MQTT example Guide Question
Greetings
I just looked over "Creating FunHouse Projects with CircuitPython" document again after Melissa added changes.
I still cannot make the Dotstar lamps on the Funhouse change colors from the color picker block.
Unfortunately the IO guides for the Feeds and Dashboards do not reflect the current IO setup pages.
I still do not understand what happens after you select a color from from the color picker block. What is the next step to actually send color hex data back to the Funhouse. Is there another button or selector to initiate the control which sends the color choice back to the Funhouse. I am still missing some information.
thanks
Tom
I just looked over "Creating FunHouse Projects with CircuitPython" document again after Melissa added changes.
I still cannot make the Dotstar lamps on the Funhouse change colors from the color picker block.
Unfortunately the IO guides for the Feeds and Dashboards do not reflect the current IO setup pages.
I still do not understand what happens after you select a color from from the color picker block. What is the next step to actually send color hex data back to the Funhouse. Is there another button or selector to initiate the control which sends the color choice back to the Funhouse. I am still missing some information.
thanks
Tom
- mikeysklar
- Posts: 13822
- Joined: Mon Aug 01, 2016 8:10 pm
Re: FunHouse MQTT example Guide Question
Tom,
I passed your feedback / questions along and will get back to you.
I passed your feedback / questions along and will get back to you.
- geotek
- Posts: 65
- Joined: Thu Mar 07, 2013 1:39 pm
Re: FunHouse MQTT example Guide Question
Greetings
Thanks Mickeysklar
Thanks Mickeysklar
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.