Page 2 of 4
Re: webcam battery or solar powered
Posted: Sun 19 Jan 2025 11:52 am
by Nossie
Alex
As Hans said, with the HP10 you just need to have the config set and it added to your ecowitt account, you shouldn't need to mess with any webfiles.
Also note that neither mine nor Hans webcams have updated since early morning on the 17th so something may have broke.
I wouldn't waste anymore time on debugging until Hans has had a look at it later
Re: webcam battery or solar powered
Posted: Mon 20 Jan 2025 1:58 pm
by HansR
@Alex,
@Nossie
@water01: Thanks for helping out while I was away.
The thing is: just before I left the HP10/CMX system failed. And now I am back I see it has recovered and is functioning as it should (on m y site).
So, please could you give me an update of how it is functioning on your site? From what I see it does not yet for Alex, and neither does it for Ian: Alex's meteocam image is more than a day old, Ian's image is more than an hour old. Did you activate it anew?
The image should refresh at the realtime refresh rate for the charts which you define in the parameter CumulusRealTimeInterval (section Website) which has a default of 15 minutes.
THe image itself gets a new link from CMX I believe every 10 minutes. CMX is in charge here as it asks the link to the image at Ecowitt. That URL changes with every new image Ecowitt puts in the archive. We have no influence on it.
Could you inform me of how it is performing with your site?
EDIT: I believe Ian's meteocam is working as expected.
Re: webcam battery or solar powered
Posted: Mon 20 Jan 2025 3:00 pm
by alexvanuxem
Hi Hans,
Thanks for reply.
I will check when I'm back at home from work.
The image you see now at
https://www.sint-katelijne-waver-meteo.be/Cutils/ is there because I looked up the url manually myself in meteocamrealtime.txt and uploaded it manually to the site.
But until then I have 2 questions: (forgive me for my stupidity

in this ).
- the wiki says : 'If the user specifies this type he only has to configure the file utils/meteocamrealtime.txt (generated by CUtils) through Extra Webfiles in CMX', but as I understood in the previous posts I do need to process and upload this file through ExtraWebfiles, correct?
- you say :'The image should refresh at the realtime refresh rate for the charts which you define in the parameter CumulusRealTimeInterval (section Website) which has a default of 15 minutes.' My CumulusRealTimeInterval is 1 min, so that's fine I guess. By 'charts' you mean the daily charts on the homepage correct? Those are updated indeed every minute? Or do you mean the graphs tab (rain, wind, ...-, those are updated at roll over through a bat file i run at midnight. I now see that that the batfile should probably be updated for version 7.
Thank you!
alex
Re: webcam battery or solar powered
Posted: Mon 20 Jan 2025 4:37 pm
by HansR
OK
alexvanuxem wrote: ↑Mon 20 Jan 2025 3:00 pm
But until then I have 2 questions: (forgive me for my stupidity

in this ).
- the wiki says : 'If the user specifies this type he only has to configure the file utils/meteocamrealtime.txt (generated by CUtils) through Extra Webfiles in CMX', but as I understood in the previous posts I do need to process and upload this file through ExtraWebfiles, correct?
Yes, you make an entry like below
Schermafbeelding 2025-01-20 172333.png
(you may have to add/modify your server path, I assumed the path to the server empty)
alexvanuxem wrote: ↑Mon 20 Jan 2025 3:00 pm
- you say :'The image should refresh at the realtime refresh rate for the charts which you define in the parameter CumulusRealTimeInterval (section Website) which has a default of 15 minutes.' My CumulusRealTimeInterval is 1 min, so that's fine I guess.
The datafiles by CMX do not update every minute so that is way too high a frequency. I would take 10 minutes.
alexvanuxem wrote: ↑Mon 20 Jan 2025 3:00 pm
By 'charts' you mean the daily charts on the homepage correct? Those are updated indeed every minute? Or do you mean the graphs tab (rain, wind, ...-, those are updated at roll over through a bat file i run at midnight. I now see that that the batfile should probably be updated for version 7.
By charts I mean all charts which use the realtime data (temperature, Overview etc...). There is no use to update the charts every 10 minutes if the data only updates once per day. So DAILY and ALL charts do not automatically update.
But OK, we are talking here about the meteocam image shown in the website. And that image is only updated once per x minutes where x is defined by the
CumulusRealTimeInterval. And please note: a one minute frequency does not fetch a new URL for the image. CMX only refreshes the URL I believe once per 10 minutes. That is another argument to use 10 minutes as the configured frequency.
Re: webcam battery or solar powered
Posted: Mon 20 Jan 2025 6:04 pm
by alexvanuxem
HI Hans,
Again thx for your time.
Update: I have a Davis WLL that's my main station, a GW1000 for lightning, and now a Ecowitt HP10.
so 2 mac adresses for ecowitt that a use as a second station for extra sensors.
can i set 32 mac's? because if i set the mac for the lightning, I get lightning data and for the hp10 now I get:
2025-01-20 18:55:29.914 API.GetCurrentData: Ecowitt API Current Response code: 200
2025-01-20 18:55:29.915 API.GetCurrentData: Ecowitt API Current Response: {"code":0,"msg":"success","time":"1737395729","data":{"camera":{"photo":{"time":"1737395655","url":"https:\/\/osswww.ecowitt.net\/images\/webcam\/v0\/2025_01_20\/231118\/3b7bfa3085ac241c99211eca69c4ac39.jpg"}}}}
2025-01-20 18:55:29.915 API.GetCurrentData: Exception: Object reference not set to an instance of an object.
2025-01-20 18:55:29.915 EcowittCloud: No new data to process
2025-01-20 18:55:29.915 EcowittCloud: Waiting 10 seconds before next update
so now I get an url for the latest photo.
But if i copy that I get an error there are too many \/ in the url, if removed to only / i can acces the url
but :
2025-01-20 18:56:02.511 FTP[Int]: Uploading Extra web file: C:\CumulusMX\utils\meteocamrealtime.txt
2025-01-20 18:56:02.511 FTP[Int]: Processing Extra web file: C:\CumulusMX\utils\meteocamrealtime.txt
2025-01-20 18:56:02.511 FTP[Int]: The data is empty - skipping upload of wwwroot/Cutils/meteocamrealtime.txt
and http://<cmx_ip>:8998/api/tags/process.json?EcowittCameraUrl
returns :EcowittCameraUrl ""
thank you!
Re: webcam battery or solar powered
Posted: Mon 20 Jan 2025 6:39 pm
by HansR
Access to the camera URL does not go through the mac but through the API keys.
CMX fetches the HP10 image URL through ecowitt.net and accesses your account with the parameters you configured (somewhere, I don't know exact because you use the GW1000 as an extra sensors station which I do not). If you did not, then that is the cause of malfunction. Don't look at the mac addresses, just configure your account on ecowitt.net and get the EcowittAppKey and EcowittUserKey for the Ecowitt Cloud Access API. If you see the webcam on ecowitt.net and you did configure the API keys then I think you are all set.
If it is not exactly as I write above, please ask Mark because the extra sensor GW1000 may be configured a bit differently from a main ecowitt station.
But make sure you get the Ecowitt API keys and you do get/set those in yoyr ecowitt.net profile.
Yes the camera is a separate device but it can be accessed by CMX with the API keys.
Don't start fiddling with the MAC addresses.
@Mark: is the above correct and do you have anything to add?
Re: webcam battery or solar powered
Posted: Mon 20 Jan 2025 8:53 pm
by HansR
HansR wrote:
HansR wrote: ↑Mon 20 Jan 2025 4:37 pm
quote=alexvanuxem post_id=188402 time=1737385250 user_id=21199]
- you say :'The image should refresh at the realtime refresh rate for the charts which you define in the parameter CumulusRealTimeInterval (section Website) which has a default of 15 minutes.' My CumulusRealTimeInterval is 1 min, so that's fine I guess.
The datafiles by CMX do not update every minute so that is way too high a frequency. I would take 10 minutes.
My Bad: this is the realtime interval for the update of the dashboard data so 1 min is OK (I use 30 secs)
The charts are updated on the
Normal Interval Settings configured in the Upload settings in CMX.
Sorry for the confusion.
Re: webcam battery or solar powered
Posted: Mon 20 Jan 2025 9:13 pm
by Nossie
Just to confirm Hans, mine seemed to come back alive on it's own also - I never did anything

Re: webcam battery or solar powered
Posted: Mon 20 Jan 2025 9:15 pm
by HansR
Nossie wrote: ↑Mon 20 Jan 2025 9:13 pm
Just to confirm Hans, mine seemed to come back alive on it's own also - I never did anything
Yes, must have been something on Ecowitt's side.
Re: webcam battery or solar powered
Posted: Mon 20 Jan 2025 9:51 pm
by alexvanuxem
Hi Hans,
thank you for ypur reply.
I definitely need the mac.
Only with I get respons from ecowitt cloud .
What confuses me is the \/ in the url , that should not be there?
Ecowitt URL =
https://api.ecowitt.net/api/v3/device/r ... l_back=all
2025-01-20 22:31:02.476 API.GetCurrentData: Ecowitt API Current Response code: 200
2025-01-20 22:31:02.476 API.GetCurrentData: Ecowitt API Current Response: {"code":0,"msg":"success","time":"1737408661","data":{"camera":{"photo":{"time":"1737408555","url":"https:\/\/osswww.ecowitt.net\/images\/webcam\/v0\/2025_01_20\/231118\/ebcef03d3342d5ffec9f9caf61d6644d.jpg"}}}}
2025-01-20 22:31:02.476 API.GetCurrentData: Exception: Object reference not set to an instance of an object.
2025-01-20 22:31:02.476 EcowittCloud: No new data to process
2025-01-20 22:31:02.476 EcowittCloud: Waiting 10 seconds before next update
And the API.GetCurrentData: Exception: Object reference not set to an instance of an object. error???
Also the '&temp_unitid=1&pressure_unitid=3&wind_speed_unitid=7&rainfall_unitid=12' note is strange to me.
But if i put that url in a browser it comes out nicely.
thx
alex
Re: webcam battery or solar powered
Posted: Tue 21 Jan 2025 6:14 am
by HansR
alexvanuxem wrote: ↑Mon 20 Jan 2025 9:51 pm
Hi Hans,
thank you for ypur reply.
I definitely need the mac.
Only with I get respons from ecowitt cloud .
What confuses me is the \/ in the url , that should not be there?
[...]
With the HP10 you should not have to do anything with MAC or URL. Just configure your HP10 so it appears on the Ecowitt.net. Then configure your extra web file and wait for the magic to happen: the URL is fetched by CMX periodically by the extra web file procedure and uploaded. Then the runtime system of the website handles the URL. It works fine with Ian and me so I wonder what your problem is. Maybe you should just wait some 10 or 15 minutes for the image to refresh. But it should show and you should only configure. Nothing more. Note that Ecowitt does
NOT store an image every second so CMX can't fetch an URL (image) faster than it does. There is no way to stream the HP10 afaik.
Anyway, I asked Mark to look at this thread especially for the API keys and how the HP10/URL is found.
It is CMX which provides the URL and so far it works for Ian and me.
Re: webcam battery or solar powered
Posted: Tue 21 Jan 2025 10:42 am
by mcrossley
CMX is expecting some weather sensors to be present on the extra sensor station. Yours only seems to have a camera...
Code: Select all
"data":{
"camera":{
"photo"{
"time":"1737408555",
"url":"https:\/\/osswww.ecowitt.net\/images\/webcam\/v0\/2025_01_20\/231118\/ebcef03d3342d5ffec9f9caf61d6644d.jpg"
}
}
Cumulus cannot cope with that, it is expecting a weather station to be attached and reads the datetime of the data from those sensors right at the start. It is this that is failing.
Re: webcam battery or solar powered
Posted: Tue 21 Jan 2025 10:55 am
by mcrossley
However, the web tag for the camera URL should query the Ecowitt API on demand. Do you have the camera enabled in the Extra Sensor settings?
Re: webcam battery or solar powered
Posted: Tue 21 Jan 2025 11:10 am
by mcrossley
And we find the problem, the camera option does not show up in the list of sensors to enable in Extra Sensors unless you are using the Cloud Station
Please copy the files attached into your /interface/json folder and then enable the camera in the Extra Sensor settings page.
Re: webcam battery or solar powered
Posted: Tue 21 Jan 2025 11:16 am
by HansR
@Mark: Right. Never thought of the Cam as an Extra Sensor but OK, that's what it is.
@Alex, please let me know the progress.
Edit: NB - the interface works correctly for me (but I only use a main station of Ecowitt so can't check on the camera working).