Hi everybody,
Sorry for my poor english, i will try to be understandable !
I’m a teacher in France and i work with young students (15 to 19 years old), i teach mechanics, computerscience and a lot of other things, so i’m not a specialist ! Last year i set up a nice activity for my students. It was simple and was working fine: This activity consisted of publishing some data (like temperature, luminosity …) from a MKR1310 (with Arduino IDE) to the ttn V2 console … and collect these data in 2 ways: python with paho.mqtt and Node-Red to build a nice HMI.
Today, i try to migrate my work to the new ttn V3. I don’t have any problem to publish data on ttn V3 with my MKR1310 … but i can’t collect these data with paho.mqtt and node-red ! I looked for a solution to my problem, but i didn’t succeed yet, so, if anyone can help me he is welcome !
1: paho.mqtt with python
I need three parameters at the beginning of my code:
APPEUI = ‘70B3D5xxxxx14BD4’
APPID = ‘the_name_of_my_app’
PSW = ‘ttn-account-v2.xXxXxXxXxXxXxXxX2xK0isQ6cUSp8’
I thinks it’s ok for the APPEUI en APPID, i’ve find them in the ttn v3 console, but i don’t know how to find the PWD (it’s the ACCESS KEY in ttn v2 console).
2: Node-Red
I think it’s the same problem, i don’t know wich password i have to set in the security panel of the “mqtt-broker node” . Currently, Node-red can’t connect to ttn !
Thanks for your help ! If it’s necessary, i can send you the entire code to help me (python & Node-red).
I keep on searching a solution …
Franck.