VEML6075 I2C UVA/UVB Sensor
Moderators: grovkillen, Stuntteam, TD-er
VEML6075 I2C UVA/UVB Sensor
Hi
I am just wondering why plugin No 130 of VEML6075 is not officialy listed as "testing".
It is available here: https://github.com/josemariaaraujo/ESPE ... ML6075.ino but there is no sign of plugins with numbers higher than 113.
Unfotuantely I couldn't find it in "normal and testing" released version of bin file.
How does that work?
I am just wondering why plugin No 130 of VEML6075 is not officialy listed as "testing".
It is available here: https://github.com/josemariaaraujo/ESPE ... ML6075.ino but there is no sign of plugins with numbers higher than 113.
Unfotuantely I couldn't find it in "normal and testing" released version of bin file.
How does that work?
Re: VEML6075 I2C UVA/UVB Sensor
Next to the normal ESPEasy repository, there's also the ESPEasyPluginPlayground repo, where experimental, and unsupported, plugins are available. The state of development, and quality, of these plugins varies from early beta to tried and tested but never migrated to the main (mega) repository. The plugins in the playground use the higher numbers, and sometimes even duplicates, but usually that is not an issue.
People that are able to develop plugins for ESPEasy are perfectly capable of grabbing such plugin for integration in their local projects, and ideally they PR improvements into the playground repo, or even create a new plugin for the ESPEasy repo.
P130 has seen the last update in the playground about 7 months ago, where the link (to the forked repo) you shared has last been updated ~3 years ago. Not sure if I'd want to try my luck with that older one.
Depending on your skills & knowledge you could build your own ESPEasy, by forking and cloning the main repo, add the plugin from the playground, and enable it in a (f.e. custom) build for testing.
People that are able to develop plugins for ESPEasy are perfectly capable of grabbing such plugin for integration in their local projects, and ideally they PR improvements into the playground repo, or even create a new plugin for the ESPEasy repo.
P130 has seen the last update in the playground about 7 months ago, where the link (to the forked repo) you shared has last been updated ~3 years ago. Not sure if I'd want to try my luck with that older one.
Depending on your skills & knowledge you could build your own ESPEasy, by forking and cloning the main repo, add the plugin from the playground, and enable it in a (f.e. custom) build for testing.
/Ton (PayPal.me)
Re: VEML6075 I2C UVA/UVB Sensor
Thanks for quick reply.
Still do not know why some of them are in testing build and some not.
Anyway I can find myself somwhere in quite capable programmmer of python whereas I have no idea about repos, forks and spoons.
Can I compile my own custom version with the 7monts old version of P130?
Can I do it using this manual: https://www.letscontrolit.com/wiki/inde ... are_Upload and and to GA just one plugin?
Can you guide me where I can find this 7 monts old file?
thanks for any help!
Still do not know why some of them are in testing build and some not.
Anyway I can find myself somwhere in quite capable programmmer of python whereas I have no idea about repos, forks and spoons.
Can I compile my own custom version with the 7monts old version of P130?
Can I do it using this manual: https://www.letscontrolit.com/wiki/inde ... are_Upload and and to GA just one plugin?
Can you guide me where I can find this 7 monts old file?
thanks for any help!
Re: VEML6075 I2C UVA/UVB Sensor
the testing status is just a state of development of that plugin, and also a relation to the 'set' (build name 'test') the plugin can be found in. Stuff that hasn't been tested enough to go in the 'normal' build used to get the 'testing' status. But now that no more plugins will fit in the test builds, and not many have been promoted to 'normal' recently, these states don't actually mean too much anyway.
Yes, it's confusing sorry.
The compilationm manual yopu are pointing to is rather old, it's better to look at the new documentation, over here: https://espeasy.readthedocs.io/en/lates ... ormIO.html and that's the tip of the day: Use VSCode with PlatformIO to build ESPEasy
The ESPEasyPluginPlayGround can be found here: https://github.com/letscontrolit/ESPEas ... Playground
If it's all too much I can compile a Custom build including that VEML6075 plugin, but it'll be tomorrow before I'll have time to do that.
Yes, it's confusing sorry.
The compilationm manual yopu are pointing to is rather old, it's better to look at the new documentation, over here: https://espeasy.readthedocs.io/en/lates ... ormIO.html and that's the tip of the day: Use VSCode with PlatformIO to build ESPEasy
The ESPEasyPluginPlayGround can be found here: https://github.com/letscontrolit/ESPEas ... Playground
If it's all too much I can compile a Custom build including that VEML6075 plugin, but it'll be tomorrow before I'll have time to do that.
/Ton (PayPal.me)
Re: VEML6075 I2C UVA/UVB Sensor
Thank you very much for any help.
I am not able to pass this. Can you therefore build for me release with normal + testing plugins and add latest veml6075 on top of it ?
I really appreciate your help.
Take your time.
Thanks!
I am not able to pass this. Can you therefore build for me release with normal + testing plugins and add latest veml6075 on top of it ?
I really appreciate your help.
Take your time.
Thanks!
Re: VEML6075 I2C UVA/UVB Sensor
What hardware-type do you want to use this on? ESP8266 or ESP32, and what flash size?
NB: Testing builds will only fit in a 4MB (or bigger) unit. For an ESP32 with 16 MB flash there is also the MAX build, including all available plugins (from the main repository, not from the playground)
NB: Testing builds will only fit in a 4MB (or bigger) unit. For an ESP32 with 16 MB flash there is also the MAX build, including all available plugins (from the main repository, not from the playground)
/Ton (PayPal.me)
Re: VEML6075 I2C UVA/UVB Sensor
sorry forgot to write.
Esp8266 and 4M.
Thanks
Esp8266 and 4M.
Thanks
Re: VEML6075 I2C UVA/UVB Sensor
If made a build, normal + testing, 4M1M, but had to exclude quite some plugins to be able to add the VEML6075. (I have just today made a pull request to split the testing builds into 4 separate sets to have a temporary solution for this).
What I excluded: P081 Cron, P089 Ping, P091 SerSwitch, P092 DL-bus, P093 Mitsubishi Heat Pump, P100 Pulse counter DS2423, P101 Wake on Lan.
Included: P114 VEML6075 UVA/UVB sensor (Moved from ESPEasyPluginPlayground P130 and renumbered as I intend to add it to the ESPEasy repository via a PR)
Tested on a Wemos D1 mini clone, and logs the expected errors as I don't own such sensor
Some housekeeping messages:
Did some initial 'cleanup', as a lot of strings where processed even when never used (logging at DEBUG level, etc.) Intend to do more restructuring, as it isn't updated to the latest coding guidelines (todo: PluginStructData, documentation).
What I excluded: P081 Cron, P089 Ping, P091 SerSwitch, P092 DL-bus, P093 Mitsubishi Heat Pump, P100 Pulse counter DS2423, P101 Wake on Lan.
Included: P114 VEML6075 UVA/UVB sensor (Moved from ESPEasyPluginPlayground P130 and renumbered as I intend to add it to the ESPEasy repository via a PR)
Tested on a Wemos D1 mini clone, and logs the expected errors as I don't own such sensor
Some housekeeping messages:
Did some initial 'cleanup', as a lot of strings where processed even when never used (logging at DEBUG level, etc.) Intend to do more restructuring, as it isn't updated to the latest coding guidelines (todo: PluginStructData, documentation).
- Attachments
-
- ESP_Easy_mega_20210424_test_ESP8266_4M1M.zip
- (649.67 KiB) Downloaded 130 times
/Ton (PayPal.me)
Re: VEML6075 I2C UVA/UVB Sensor
I've made a refactoring of the plugin, as mentioned before.
Can you please test both builds? The first one contains the plugin (nearly) as-is from the Playground, this one is what I intend to add to ESPEasy, so/but it must be functionally equal.
Please report your findings here.
Thanks in advance.
Can you please test both builds? The first one contains the plugin (nearly) as-is from the Playground, this one is what I intend to add to ESPEasy, so/but it must be functionally equal.
Please report your findings here.
Thanks in advance.
- Attachments
-
- ESP_Easy_mega_20210424_test_ESP8266_4M1M_2.zip
- (649.58 KiB) Downloaded 136 times
/Ton (PayPal.me)
Re: VEML6075 I2C UVA/UVB Sensor
Hi Ath
Thanks once again for both builds,
naturally I started from the second one and it seems to work all right as it is 11PM and no UVA and UVB is generated by the sun:)
I will check both of them - let me know what to look for.
bes regards!
Thanks once again for both builds,
naturally I started from the second one and it seems to work all right as it is 11PM and no UVA and UVB is generated by the sun:)
I will check both of them - let me know what to look for.
bes regards!
Re: VEML6075 I2C UVA/UVB Sensor
Typical issues you could watch for:
- Does the sensor keep sending out samples over time (e.g. "stability" or does the sensor need some reset after a time)
- What happens if one of the channels clips?
The last one may be tricky. On some of those kinds of sensors I have seen that the measurement range of different wave length ranges differ.
For example the more IR sensitive wave length was easy to make it clip in full sunlight.
Any derived value which depends on both values is then useless if one of them clips.
Not sure whether it can be mitigated in the firmware, but if not then it should be mentioned in the docs.
- Does the sensor keep sending out samples over time (e.g. "stability" or does the sensor need some reset after a time)
- What happens if one of the channels clips?
The last one may be tricky. On some of those kinds of sensors I have seen that the measurement range of different wave length ranges differ.
For example the more IR sensitive wave length was easy to make it clip in full sunlight.
Any derived value which depends on both values is then useless if one of them clips.
Not sure whether it can be mitigated in the firmware, but if not then it should be mentioned in the docs.
Re: VEML6075 I2C UVA/UVB Sensor
Hi @m83, is there anything (possibly preliminary) you can report on your testing & results, so far?
/Ton (PayPal.me)
Who is online
Users browsing this forum: No registered users and 47 guests