Hello,
I am experiencing some issues with meteobridge on TP-3020v3 at startup. If I reboot the router, the USB stick (like meteostick) is not recognised and /dev/ttyMH port is not created. But if I disconnect and reconnect the USB stick when the meteobridge is started, the USB stick is recognised and ttyMH created. At this point I need to save again configuration of primary station and then all start again to work.
Need I to reset all at factory configuration and start all from scratch?
Meteobridge 5.2 Reboot problem.
Moderator: Mattk
Re: Meteobridge 5.2 Reboot problem.
I don't understand how disconnecting a USB stick can delete your Meteobridge settings. That does not sound like a valid observation to me.
What do you mean "like Meteostick"? Is it a Meteostick or something self-developed? Please understand that I will not help debugging your stuff.
What do you mean "like Meteostick"? Is it a Meteostick or something self-developed? Please understand that I will not help debugging your stuff.
Re: Meteobridge 5.2 Reboot problem.
Looks like you are the developer of or somehow connected to the "Davis Emulator" stick, which tries to mimic a part of the Davis console/envoy protocol.
As it is just an emulation of a fraction of the protocol and the stick does not have persistent/date time nor the internal data logging functions of the Davis product, it is not very surprising that it does have its quirks. It also seems to need an initial configuration with a separate PC program, giving basic settings. I am not sure how this interacts with the communication the Meteobridge sets up with an expected original Davis console.
Why the device is not given a proper /dev/tty on start is hard to say. When you use an original FT232 from FTDI (and not one of the common china clones) it should come up properly. I would recommend to test your FT232 for not being clones, the linux drivers in OPENWRT might exclude it. When you got the chips from digikey, mouser, etc it is unlikely that you got clones. But when they are imports from unknown China sources it is very probable, especially in times of low chip availability. MR3020v3 does not need a USB hub, so this should not be a problem.
I hope this gives you some direction for further inspection.
As it is just an emulation of a fraction of the protocol and the stick does not have persistent/date time nor the internal data logging functions of the Davis product, it is not very surprising that it does have its quirks. It also seems to need an initial configuration with a separate PC program, giving basic settings. I am not sure how this interacts with the communication the Meteobridge sets up with an expected original Davis console.
Why the device is not given a proper /dev/tty on start is hard to say. When you use an original FT232 from FTDI (and not one of the common china clones) it should come up properly. I would recommend to test your FT232 for not being clones, the linux drivers in OPENWRT might exclude it. When you got the chips from digikey, mouser, etc it is unlikely that you got clones. But when they are imports from unknown China sources it is very probable, especially in times of low chip availability. MR3020v3 does not need a USB hub, so this should not be a problem.
I hope this gives you some direction for further inspection.
Re: Meteobridge 5.2 Reboot problem.
Thanks for reply,
I'm not the developer of "davis emulator", but only a final user.
The chip on the emulator lools like a genuine FTDI chip and at begin, the USB stick at begin was identified and installed without problem.
You are in true, saying that this "emulator" require an external software to setup some parameters like the altitude to compute the see level pressure and that the "emulator" don't provide internal data logging.
It's very strange also for me... I can try to factory reset the meteobrige and install again.
I'm not the developer of "davis emulator", but only a final user.
The chip on the emulator lools like a genuine FTDI chip and at begin, the USB stick at begin was identified and installed without problem.
You are in true, saying that this "emulator" require an external software to setup some parameters like the altitude to compute the see level pressure and that the "emulator" don't provide internal data logging.
It's very strange also for me... I can try to factory reset the meteobrige and install again.
Re: Meteobridge 5.2 Reboot problem.
Ask the developer if the stick why it does not work properly.
Re: Meteobridge 5.2 Reboot problem.
I think the stick is working good.
The problems are only at meteobridge reboot when is needed to disconnect and then reconnect the stick when meteobridge is completely started.
This issue is appared two weeks after the first meteobridge startup, when I first configured the system. In the two weeks I reboot meteobridge several times, without problems. Then suddently the issue appared.
For the moment meteobridge is working, even if the issue. In case I need to reboot, I only need to remove and insert again the stick.
In future I will need tu put the router under the roof, where not so easy to directly mantain, with the needs to reboot it remotely. Then I will try to restore the factory default configuration or reinstall the firmware.
The problems are only at meteobridge reboot when is needed to disconnect and then reconnect the stick when meteobridge is completely started.
This issue is appared two weeks after the first meteobridge startup, when I first configured the system. In the two weeks I reboot meteobridge several times, without problems. Then suddently the issue appared.
For the moment meteobridge is working, even if the issue. In case I need to reboot, I only need to remove and insert again the stick.
In future I will need tu put the router under the roof, where not so easy to directly mantain, with the needs to reboot it remotely. Then I will try to restore the factory default configuration or reinstall the firmware.
Re: Meteobridge 5.2 Reboot problem.
On a V1 MR3020 the reason would be obvious, the missing USB hub. V3 has another SOC which does not have the USB 2 issue. Are you sure it is a V3?
Apart from that, Meteosticks don‘t have that problem, USB serial connected weather stations don‘t have it. Therefore, it is pretty obvious that your USB device doesn‘t work with the FTDI drivers of openwrt Meteobridge relies on. If you don‘t think so, I can‘t help. It also can be a hw defect of your MR3020.
If your primary intent is to operate with Meteobridge, I can offer to exchange the stick you have with a Meteostick. Advantage for you is to have a working solution that can read data in parallel from up to 8 Davis stations. For me it would be funny to have a look at this pseudo Davis protocol emulation approach. Just let me know if you are interested in a swap.
Apart from that, Meteosticks don‘t have that problem, USB serial connected weather stations don‘t have it. Therefore, it is pretty obvious that your USB device doesn‘t work with the FTDI drivers of openwrt Meteobridge relies on. If you don‘t think so, I can‘t help. It also can be a hw defect of your MR3020.
If your primary intent is to operate with Meteobridge, I can offer to exchange the stick you have with a Meteostick. Advantage for you is to have a working solution that can read data in parallel from up to 8 Davis stations. For me it would be funny to have a look at this pseudo Davis protocol emulation approach. Just let me know if you are interested in a swap.
Re: Meteobridge 5.2 Reboot problem.
This is my Hardware Platform.
The reason if I think that, is that if there are issue about the driver or the chipset, the usb stick should not work at all, or give continuous problems.
But, excluding the restart issue, the usb stick works without problems and I know other meteostations using the same usb stik and router, who never experienced the same issue.
Before believing that there is a real conflict from usb stick chipset and/or open wrt driver or router hardware, I wold try to reset meteobridge to factory default or to flash again, it won't be anytime soon, I thought I'd wait a month or so, when I make some modifications to the rooftop installation.
The reason if I think that, is that if there are issue about the driver or the chipset, the usb stick should not work at all, or give continuous problems.
But, excluding the restart issue, the usb stick works without problems and I know other meteostations using the same usb stik and router, who never experienced the same issue.
Re: Meteobridge 5.2 Reboot problem.
This sounds like a HW issue with your specific MR3020. Reflashing will not change anything. Going back to factory defaults with the 5 blink reset will be fine to rule out any misconfiguration.iu1jvo wrote: Fri Jan 28, 2022 4:20 pm But, excluding the restart issue, the usb stick works without problems and I know other meteostations using the same usb stick and router, who never experienced the same issue.