Can't see device from playground plugin
Moderators: grovkillen, Stuntteam, TD-er
Can't see device from playground plugin
Hi,
I wanted to add P242 (ILI9341) to my build. I added a #define USES_P242 in custom.h, and add the correct .ino. It compiles fine but the list of available devices is still the default one. I also see devices that I removed...
So in other words, it seems my custom.h is ignored ? Do I have to modify something else ?
Thanks a lot,
Grumpf.
I wanted to add P242 (ILI9341) to my build. I added a #define USES_P242 in custom.h, and add the correct .ino. It compiles fine but the list of available devices is still the default one. I also see devices that I removed...
So in other words, it seems my custom.h is ignored ? Do I have to modify something else ?
Thanks a lot,
Grumpf.
Re: Can't see device from playground plugin
Have you added #define USE_CUSTOM_H somewhere in your source or in your build environment?
/Ton (PayPal.me)
Re: Can't see device from playground plugin
Unfortunately I was using Arduino IDE that does not allow that (or does it?).
I tried PlatefromIO with UV but it's too complicated for me for now. I'll go on with some tutorial to learn it. Meanwhile I just modified the define_plugin_sets.h like a redneck
But it worked, I needed the SI1175 & the ILI9341.
Using some rules I can publish the 3 value from the SI1175 to domoticz so that's a win
Now I have to try the ILI9341...
Thanks.
I tried PlatefromIO with UV but it's too complicated for me for now. I'll go on with some tutorial to learn it. Meanwhile I just modified the define_plugin_sets.h like a redneck
But it worked, I needed the SI1175 & the ILI9341.
Using some rules I can publish the 3 value from the SI1175 to domoticz so that's a win
Now I have to try the ILI9341...
Thanks.
Re: Can't see device from playground plugin
Oh wait, you mean I can simply use a #define in the the main ino and that'll work ?
Sorry noob here.
Sorry noob here.
Re: Can't see device from playground plugin
Ehm, since release mega-20200426, the ILI9341 plugin has been included as P095, but I'm not sure if it is included in any of the standard builds (it's quite large when all libraries are linked in).
You could suffice with just enabling it in define_plugin_sets.h for the PLUGIN_SET_TESTING or add it to your specific configuration by defining USES_P095. (And then you also get the fixes/updates that have been done since it was added on the playground.)
You could suffice with just enabling it in define_plugin_sets.h for the PLUGIN_SET_TESTING or add it to your specific configuration by defining USES_P095. (And then you also get the fixes/updates that have been done since it was added on the playground.)
/Ton (PayPal.me)
Re: Can't see device from playground plugin
I was using DEV but it was not enabled by default. I did precisely what you said and it worked. OTOH to receive all the values I had to add those rules :
Thank you all for your help, I'll come back with more questions soon and, maybe try to answer some myself later !
Cheers.
Code: Select all
on SI1145#UV do
SendToHTTP 172.19.0.63,80,/json.htm?type=command¶m=udevice&idx=1009&nvalue=0&svalue=[SI1145#UV]
endon
on SI1145#INFRA do
SendToHTTP 172.19.0.63,80,/json.htm?type=command¶m=udevice&idx=1010&nvalue=0&svalue=[SI1145#INFRA]
endon
Cheers.
Re: Can't see device from playground plugin
That smells like you are using Domoticz, right? You should be able to use the Domoticz HTTP or MQTT controllers to send that data there. After setting up the controller, you should only need to set the idx value at the plugin for that controller.Grumpf wrote: ↑02 Aug 2020, 17:56Code: Select all
SendToHTTP 172.19.0.63,80,/json.htm?type=command¶m=udevice&idx=1009&nvalue=0&svalue=[SI1145#UV]
/Ton (PayPal.me)
Re: Can't see device from playground plugin
Yes, thank you. Thatr's what I did and it worked. WE can consider my issue worked around
Thanks everyone for extremely fast answers.
Cheers !
Thanks everyone for extremely fast answers.
Cheers !
Who is online
Users browsing this forum: Ahrefs [Bot] and 63 guests