Comments (3)
Sure... To change the settings, you invoke the /update
endpoint and provide as GET parameters what you want to change. You also need to provide an api_key
parameter with the API key you defined in your myWiFi.h
file.
For example, to turn off the LED through a browser, you can invoke:
http://kaminari.localdomain/update?statusLed=false&api_key=MySeCrEtApIkEy
(Replace kaminari.localdomain
with your Kaminari's host name or IP address, and set the proper API key.)
You can also provide the API key as X-API-Key
header, e.g.:
curl -H 'X-API-Key: MySeCrEtApIkEy' 'http://kaminari.localdomain/update?statusLed=false'
from kaminari.
Thanks for the response that was the info i was looking for, can i ask if you have seen any real lightning detected using your unit. I have tried 2 different boards in this setup now, in both cases i get perfect tuning at 500k but it does not trigger on lightning events, i have had storms overhead last night and 5 minutes ago with plenty of lightning and the system did not see any of the strikes at all.
from kaminari.
I'm experimenting with my AS3935 for more than a year now, and I'm finally making a bit of progress. What I could find out so far:
- It's crucial to have enough space between the AS3935 and the ESP board, as the ESP's WiFi antenna is a strong disturber. It seems that 10cm (4 inch) is sufficient.
- A perfect 500kHz tuning seems to be important. After I replaced the wrong capacitors on my CJMCU AS3935, the result seemed to be better.
- My initial idea to auto-adjust the watchdog level turned out to confuse the AS3935 and cause a lot of false positives. I got much better results after setting
autoWatchdogMode
tofalse
andwatchdogThreshold
to a fixed value (currently3
here). I'm about to remove the watchdog auto-adjustment from the code because of that, or at least disable it by default. - The number of disturbers per minute should be almost 0 on fair weather. If it's higher, give more space between the sensor and the ESP, or find a better place for the sensor with less disturbers. (If there is a thunderstorm approaching, the number of disturbers per minute will still rise, but that seems to be normal.)
With this setup, I only get a few false positives per day. If a thunderstorm approaches, I get many lightning events now. Together with the raising number of disturbers per minute, it's indeed possible to check if a thunderstorm is approaching.
However it's not like that the detector detects every lightning that I can see outside. The distance estimation is also totally useless at the moment, because almost all lightnings are reported as "right overhead".
I keep on experimenting, but it's in the nature of this project that the progress is very slow.
from kaminari.
Related Issues (6)
- Calibrated antenna frequency 0 Hz HOT 7
- Compiling error HOT 5
- add MQTT support? HOT 14
- Status sent to mqtt every 10 minutes? HOT 3
- Can I use I2C interface? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kaminari.