meteobridge and physical names

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
engelbert
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: Mon Mar 14, 2016 5:14 pm
Location: Slochteren
Contact:

meteobridge and physical names

Post by engelbert »

Good morning,
I have a DP100 soil sensor and a DP60 lightning sensor from Froggit / ecowitt. The physical names are th0!20hum and lgt0!0dist. When I look in the list of pws_dashboard / extra_sensoren / extra_MB.txt it says soil sensor = | soil_mst1 | moist | [th10hum-act.0: -] |! and lightning sensor = | lightningkm | light | [lgt0dist-act.1: -] | !

How can I change th0!20hum to th10hum-act.0: -] |!
How can I change lgt0!0dist to lgt0dist-act.1: -] |!
so that it uploads properly to my site.
Thanks in advance.

See Appendix

Gr Engelbert.jan
https://weerstationbijdetoren.nl/pwsWD/index.php
Attachments
soilsensor.png
soilsensor.png (4.47 KiB) Viewed 479 times
lightningsensor.png
lightningsensor.png (4.21 KiB) Viewed 479 times
DP100 soil-sensor.png
DP100 soil-sensor.png (32.21 KiB) Viewed 479 times
DP60 lightning-sensor.png
DP60 lightning-sensor.png (28.42 KiB) Viewed 479 times

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 6631
Joined: Mon Oct 01, 2007 10:51 pm

Re: meteobridge and physical names

Post by admin »

Did you try "Station - Mapping" tab? There you can select "th0!20hum" to be your "soil0hum" sensor.

engelbert
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: Mon Mar 14, 2016 5:14 pm
Location: Slochteren
Contact:

Re: meteobridge and physical names

Post by engelbert »

Yes, I've already finished [th0! 20hum]. But how about [lgt0! 0dist] and [lgt0! 0total] and [lgt0! 0time]. I have already tried several options and I still can't.

Gr Engelbert.jan

Gyvate
Expert Boarder
Expert Boarder
Posts: 126
Joined: Thu May 14, 2020 4:36 pm

Re: meteobridge and physical names

Post by Gyvate »

Does [lgt0!0dist-act.1:-] (beware that there's no space in between like in your last post)
not produce the desired result ? Meaning, the proper values.
If not, is there an actual value of these sensors available ? If not, nothing can be shown.

You could try to replace -act by -lastval (if this in in your control, no idea how this pwsWD file or api string is created by MB - when you create your own http request [for test purposes], you can yourself just enter the wanted sensors and choose which of their values you use, then you do your mapping yourself in the http request) - the receiver end only cares about the values, not about the names used in MB.

Because -act could be simply nothing or just --, because there is nothing. Is there some value for this time in the database ?

Maybe your issue is not the sensor mapping but the choice of sensor value (actual, average, last value, ....).

Unfortunately, from what you tell, I don't have the full picture of what exactly you want to achieve (end-to-end view).
I assume you want to send data to a template which is installed on a web host - pwsWD.
And for this you either need to send a file or data via a so-called api string via a http request which will then be processed at the web server end.

If this is not a fixed setup in MB (which doesn't keep you from "copying" it into your own either file transfer or http request), there is anyway an api string available for the http request. If so, you can just edit the respective fields and put in your desired values (sensor name and its [time related] data values, e.g. [th20hum-lastval.2:--]).
WH4000SE 1.5.8/GW1000 1.6.6/HP1000SE Pro 1.7.1/WH2650 1.6.7-ß
2xMeteobridge Pro [B+R],RPi4-2/16
Ecowitt 5763, 5764; WU ISAARB3; ISAARB22; Weathercloud 3011399141; http://meshka.eu/meteo/template - http://meshka.eu/Weather34

User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 514
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: meteobridge and physical names

Post by wvdkuil »

engelbert wrote:
Tue Feb 09, 2021 10:32 am
Yes, I've already finished [th0! 20hum]. But how about [lgt0! 0dist] and [lgt0! 0total] and [lgt0! 0time]. I have already tried several options and I still can't.

Gr Engelbert.jan
If you do not want to use "Station - Mapping" tab for the sensors, use this test version for those 3 lines.

Code: Select all

|lightning|light|[lgt0!0total-daysum:--]|!
|lightningtime|mbdt|[lgt0!0dist-lasttime:--]|!
|lightningkm|light|[lgt0!0dist-lastval:--]|!
You also need a fresh copy of PWS_extra_data.php, I attach one.

Wim
Attachments
PWS_extra_data.php.zip
(2.4 KiB) Downloaded 24 times
Support for Leuven-Template & Scripts at https://support.leuven-template.eu/
Support for the PWS_Dashboard (HWS-template) https://pwsdashboard.com/

Challenger007
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: Thu Feb 04, 2021 5:07 pm

Re: meteobridge and physical names

Post by Challenger007 »

How compatible are the sensors? I'm not an expert, but there may be a problem with the sensors themselves. Or there may be a problem in the program settings.

engelbert
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: Mon Mar 14, 2016 5:14 pm
Location: Slochteren
Contact:

Re: meteobridge and physical names

Post by engelbert »

Thanks everyone for the contribution. What I don't understand is the time. On the website, the time is indicated differently than what meteobridge indicates. I am still puzzling with that. See Appendix.

Engelbert
Attachments
tijd.png
tijd.png (95.66 KiB) Viewed 403 times
bliksem.png
bliksem.png (17.04 KiB) Viewed 403 times

User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 514
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: meteobridge and physical names

Post by wvdkuil »

engelbert wrote:
Wed Feb 10, 2021 1:02 pm
Thanks everyone for the contribution. What I don't understand is the time. On the website, the time is indicated differently than what meteobridge indicates. I am still puzzling with that. See Appendix.

Engelbert
Seems that you did not unzipped/installed the zip from my post above?
That new version will take care of that.
Support for Leuven-Template & Scripts at https://support.leuven-template.eu/
Support for the PWS_Dashboard (HWS-template) https://pwsdashboard.com/

engelbert
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: Mon Mar 14, 2016 5:14 pm
Location: Slochteren
Contact:

Re: meteobridge and physical names

Post by engelbert »

Of course i unzip and uploaded your attachment directly to my site. only the date and time is not correct yet. Maybe it is the upload time of meteobridge.

Post Reply