Adafruit MQTT Interface
-
@eamon you can use nodered to get mqtt data from your server and forward it to Isadora via osc.
-
You could use 'Get URL Text' if you are able to setup a URL that returns the collected data.
If each data, has a time stamp (use Javascript probably to sort/search), you can find any new data, and add it to your graph (maybe use dataArray).
-
Hi all
Thanks for the pointer and the idea that is possible. I will report back and let you know how I get on.
eamon
-
Hi all
I have had a play and it seems my knowledge of isadora is a bit lacking... Kinda knew it was..
We have the instance set up and running on Nodered and that is fine.
I cannot seem to make it work in isadora.
I am interfacing with the designers nodered (very knowledgable in this area) over internet and doing this on the same computer. I think one of the issues with OSC is that this is not a local lan...?
I have tried TCP ( I do understand IP etc) but I feel I am stumbling around in the dark. I only heard of MQTT and nodered for this project....If I am interfacing with his nodered page, should I use a TCP watcher etc?
Any pointers would be gratefully received.
Eamon
-
@eamon Try install the OSC extra for node red - https://www.npmjs.com/package/... Isadora and node red can communicate via OSC, and if you are running both of them on the same computer they can communicate with each other from 127.0.0.1 (the ip address used for two pieces of software on the same computer that need to communicate with network protocols). You will need to make sure you are talking on the correct port (Isadora has a default port of 1234 for receiving osc). You may need to re arrange the data that you get before sending it on.
-
@fred said:
127.0.0.1
Hi
Thanks for the reply. I forgot about the self referring IP of 127..
I will have a good chat to the designer. I think I am not setting the message up correctly in nodered as well as my actor layout in Isadora. I am unsure as to what my osc command would be or should read like in nodered.
Can it be whatever I specify as long as it is correct in its statement and both programs reference it?
I am also not sure where the IP goes. Is this meant to be isadora or nodered?
Thanks in confusion.
-
@eamon I'm guessing you want Isadora to receive messages from the sensors, so the settings for ip address and port will be in nodered, they are part of the osc plugin, you need to use the output version of the osc tool in nodered.
In Isadora go to communication->stream setup and select autodetect input. If you have configured everything properly you will see something come into the stream setup. Check the Isadora manual for details on how to use osc.
You will need to extract the data you want from the mqtt message and send it on as an osc message from nodered to Isadora.
-
hello all.
why is there no standart firmata actor in isadora? it would be graet to do things more efficiente, inside izzy. so ableton has this suppi dubbie m4l patch inside which is possible to give you all possibilitys of the most microcontrollers i/o stuff. conection kit! and it is not understandable for us, that in izzy you have to learn programm a arduino bevor you can use its i/o possibilitys. and a sound soft like ableton do it in a side way, without any need to get a programmer and lose time for art of video. thx. bj
-
@deflost said:
why is there no standart firmata actor in isadora? it would be graet to do things more efficiente, inside izzy. so ableton has this suppi dubbie m4l patch inside which is possible to give you all possibilitys of the most microcontrollers i/o stuff. conection kit!
We can certainly add this as a feature request.
-
@deflost said:
it is not understandable for us, that in izzy you have to learn programm a arduino bevor you can use its i/o possibilitys. and a sound soft like ableton do it in a side way, without any need to get a programmer and lose time for art of video.
Here's the simple explanation of why they have that feature and we don't (yet):
TroikaTronix has 5 full-time employees (and Mark codes the entire program himself); if we made $18,500,000/year and had around forty times as many employees as we do right now Isadora would have all sorts of neat, new features. (It's not really a fair comparison.)
The addition of a native implementation of the Firmata library for Arduino in its own actor (or user actor) is a good feature request though, thank you. We'll add it to the list.
Best wishes,
Woland