Open matthijsfh opened 2 months ago
from line 475 you can change it
i have not test it
See here that there is a utility for it. But it is missing from the page https://wiki.deomgevingsmonitor.nl/index.php/OpenSenseMap
I think that the USB Utility (also mentioned on the main page) can be used for this. It has a button 'Add a omgevingsmonitor' which opens the 'AddSenseBoxForm'. I presume that this will set some settings in the EEProm that will switch the firmware to send messages with measurement data to api.opensensemap.org/boxes (I do not have the exact instruction on how to use it. I will try to update the wiki when I know more.)
i tried to make it work made an acount etc but cant fill in the info anywhere in util and get an error creating sense box no refresh token available error. also when i tried modding the firmware directly by using the cube ide thing i get warnings about denny and joris their users not existing basicaly its saying cant find drivers in c:/ etc looking for those 2 users.
UPDATE: it turns out you need to login with your acount from sensmap in the util pasword and email then it works it looks like
when i tried modding the firmware directly by using the cube ide thing i get warnings about denny and joris their users not existing basicaly its saying cant find drivers in c:/ etc looking for those 2 users.
Did you follow the steps as mentioned in Programmeeromgeving: Compileren en bouwen especially with respect to:
(For some reason absolute paths are stored in the project, instead of relative paths, which means that for each user paths are added.)
UPDATE: it turns out you need to login with your acount from sensmap in the util pasword and email then it works it looks like
Okay, that makes sense.
well i tried to follow that i only opend it but it might not be a problem will find out later. regarding the sensmap it did add the device so i tought it would work but i dont get data in there. is there some step like needing to upload or something that i missed if i do need to upload is there a way to get the firmware elf file or bin as the tool you guys provided has trouble seeing my sensor but cube programmer via usb mode does allow me to upload firmware
@tjallingk, the people who know more about it are at WoTS. I will update the wiki as soon as I know more.
Nice!
At openSenseMap.org you need to configure what kind of sensor box you have. The WOTS gadget is not a template (of course), so I think we should work together to make a readme for that which shows both the steps on the STM32 / EEPROM and also the steps on openSenseMap.org to make it work.
Nice!
At openSenseMap.org you need to configure what kind of sensor box you have. The WOTS gadget is not a template (of course), so I think we should work together to make a readme for that which shows both the steps on the STM32 / EEPROM and also the steps on openSenseMap.org to make it work.
it doesnt seem to be the case if you login in the provided usb tool it makes one for you. with all sensors etc premade
edit: i also did make one at first but now have 2 sensors
So, after some trying i understand how it works and managed to have the omgevingsmonitor to upload data to OpenSense:
What you need to do is this:
Connect the device to your PC/Laptop.. Press the "RESET" for 5 seconds (STATUS LED blinks RED) , then press "BOOT" and then "USER", the DB LED will turn white.
Now open the "omgevingsmonitor.exe", in the dropdown menu select the correct COM port Login to the OpenSense account using your "E-mail and Password" Click --> "Add a omgevingsmonitor" , fill in the required details. After having added the "omgevingsmonitor" it will show up in the window above the "Add a omgevingsmonitor" button. Select the sensor, by left clicking it. Now you will see 7 sensors show up in the box below it. Enter a custom name, (i used the name of the "omgevingsmonitor" entered in OpenSense. Now click "Configure gadget" and see commands being send to the device:
Now you have to reconnect the device to your Wi-fi again.
Connect to Accespoint "Wots-Config". When presented with the config page (http://192.168.4.1) Enter your own SSID en Password and click "Connect". When connected the webpad page closes automatically. Reset the Gadget (Status button).
Done.
You should now see data like this in OpenSense.
@Logic-7E8 your amazing the reset boot combo trick is indeed what did the trick i could select the right com before that but it did not send stuff now it works amazing thanks for this information. now im going to look into the mic having a really high noise floor in software
So, after some trying i understand how it works and managed to have the omgevingsmonitor to upload data to OpenSense:
What you need to do is this:
Hoe heb jij de GPS-gegevens kunnen aanpassen? Of staat jouw omgevingsmonitor nu op het adres van KITT?
So, after some trying i understand how it works and managed to have the omgevingsmonitor to upload data to OpenSense: What you need to do is this:
Hoe heb jij de GPS-gegevens kunnen aanpassen? Of staat jouw omgevingsmonitor nu op het adres van KITT?
In de "Omgevingsmonitor Configurator" nadat je een omgevingsmonitor hebt aangemaakt krijg je dit scherm te zien:
Nu moet je zorgen dat je het rode kruisje plaatst op de plaats waar je monitor zich bevind,. (als je ergens op het kaartje klik dan verplaats het kruisje zich)
De "latitude" en "Longitude" veranderen, en die programmeer je in het device.
Je kan de locatie van de SenseBox ook via OpenSenseMap.org aanpassen, dat is wellicht makkelijker.
Je kan de locatie van de SenseBox ook via OpenSenseMap.org aanpassen, dat is wellicht makkelijker.
Ja, dat kan ook, via "Dashboard --> Location"
It is mentioned this module could connect to openSenseMap, but zero documentation. Please fix/update. ESP.c has at least the openSenseMap URL, but how to get it working?