|
Post by rwalker43 on May 26, 2022 11:08:29 GMT -8
Hi, I have the OurWeather system up and running on WeatherSense V24 and I have questions! 1. Is there a way to change WeatherSense output to english units? 2. When I go to the www.swichdoc.com/OurWeatherPage.html and enter my IP address I get confirmation that it is using the address input, but when I click on current weather button the page is not populated. What am I doing wrong? Thaks in advance for any assistance!
|
|
|
Post by SDL on May 27, 2022 9:15:19 GMT -8
Look through the OurWeather product page for info on how to change to english units.
I would say you aren't connecting to the OurWeather board. How did you determine the IP address?
BP
|
|
|
Post by rwalker43 on May 27, 2022 14:45:47 GMT -8
Thanks for your reply! I'm pretty new at this, but I've been able to muddle through most issues.
I'm pretty sure that I'm connecting to the board. I'm using dedicated IPs on the broker and the WeatherPlus2. I am using the IP address displayed on the WeatherPlus2. I was able to reset the admin password and update the MQTT settings via 'OurWeatherAdmin when first setting up. I'm also able to subscribe via mosquitto to the output of the WeatherBoard as shown below.
Client (null) received PUBLISH (d0, q0, r0, m0, 'OurWeather', ... (361 bytes)) {"stationname": Walker Weather, "softwareversion": 059, "hardware": esp32, "Controllerboard": V2, "connected": true ,"FullDataString": "24.88,53.53,29.42,101069.00,124.69,1.88,4.39,180.00,0.00,0.31,2.01,1.02,5.33,0.00,315.00,0,2022-05-27 16:31:42,Walker Weather,2976,4,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,V:,WXLMB ,1,,,0,,,0,0.00,-3500"}
I used the REST command 'http://IP address/EnglishUnits' and got a return value of 1. That appears to have changed the WeatherPlus2 display, but did not change the MQTT ouput. I also changed state.py status variable 'EnglishMetric =1'.
{"return_value": 1, "id": "1", "name": "OurWeather", "softwareversion": "059", "hardware": "esp32", "Controllerboard": "V2", "connected": true}
I also tried to change the date/time on the WeatherPlus2 using the REST command 'https://192.168.125.67/setDateTime?params=XXXXXXXX,May 272022,18:25:00' and got a return value of 1as shown below, but the date/time on the WeatherPlus2 MQTT output did not change as shown below.
Client (null) received PUBLISH (d0, q0, r0, m0, 'OurWeather', ... (363 bytes)) {"stationname": Walker Weather, "softwareversion": 059, "hardware": esp32, "Controllerboard": V2, "connected": true ,"FullDataString": "24.77,52.80,29.48,101081.00,123.70,1.73,5.57,225.00,0.00,0.47,1.73,1.05,5.57,135.00,337.50,0,2022-05-27 16:41:58,Walker Weather,3136,4,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,V:,WXLMB ,1,,,0,,,0,0.00,-3600"}
Finally, shouldn't the name field on the REST command return value name be the same as my weather station name? The station name is 'Walker Weather', but the return shows the name as 'OurWeather'.
What am I missing?
|
|
|
Post by SDL on May 29, 2022 12:55:56 GMT -8
I wouldn't be surprised if the MQTT output is always in metric. That sounds right to me. EnglishMetric I just for the displays.
Is the MQTT time in UTC?
BP
|
|
|
Post by rwalker43 on Jun 2, 2022 9:07:18 GMT -8
Hi and thanks for your reply. First, let me apologize because I just realized that I opened this thread under the incorrect category.
Am I correct in understanding that weatherboard output is only in metric and must be converted in software?
I believe the unit is set to Eastern Daylight Time.
You mentioned that you believe that I am not connecting to the board. Can you elaborate based on the output that I posted above. I still cannot make changes via OurWeatherAdmin and I cannot get output to the OurWeatherPage.
For instance, I reset the board and then configured wifi. Once it restarted, it successfully connects to wifi. If I access through the browser, ie, IPAddress/FullDataString, I get the expected reply. However, when I try to enable MQTT through the AdminPage, nothing happens. If I try changing the admin password, I get no feedback.
There must be something very basic that I'm missing. I've been through the forums and found no answers.
|
|
|
Post by rwalker43 on Jun 2, 2022 9:15:06 GMT -8
I might also mention that the configuration page shown in the WeatherBoard V2 manual is not what I see during configuration. There are no date or time fields present on the configuration page. The only way to make any changes once the board in provisioned is through the Admin page which is not working for me. Is there a way to reset the WeatherBoard to defaults without using the Admin page?
|
|
|
Post by SDL on Jun 3, 2022 7:43:25 GMT -8
Could you post what you are seeing in configuration and what is different? I need more data to help you.
BP
|
|
|
Post by rwalker43 on Jun 12, 2022 11:19:20 GMT -8
I have figured out where it all went wrong!
Quick recap:
I successfully installed the OurWeatherPlus board. The configuration page that I was presented differed from the V2 Installation Manual in that the configuration page did not contain fields for setting the date/time as it did in the manual. The configuration page that I was presented showed only the wifi information and altitude. The station came up as expected, but the time was incorrect. Using the Firefox browser on my Windows laptop, I was able to access the OurWeatherPage and OurWeatherAdmin page, but neither page was populated with my station information. Subsequent attempts to interact with the station via those two pages proved unsuccessful. I needed to set up the correct time and MQTT connection. That is what I was trying to communicate to you through this thread earlier. Using the Advanced Usage Manual, I was able to use REST commands change Metric units display to English, set a new password, set up the MQTT connection etc, but I could not change the date/time. I remembered that on the OurWeatherAdmin page it said to NOT use analog date and time with the V2 bpard, but there wasn't a REST command to set the time as UTC as required. This was making me nuts and I had to step away.
Coming back to the issue, I decided to try using the Raspberry Pi instead of the Windows laptop. When I called up OurWeatherPage and OurWeatherAdmin using the Chromium browser, the fields on the two pages were correctly populated! I was then able to use the Admin page to set the correct time using UTC! So, for now, my issues are resolved and I can delve deeper into OurWeather!
One last issue for me is the Metric MQTT output. Can the units be changed to English for the MQTT output?
Thank you for getting back to me! I had almost lost faith!
|
|
|
Post by SDL on Jun 12, 2022 16:03:50 GMT -8
Outstanding!
That is such a bizarre problem. Do you think it was firefox?
No way to change the MQTT output to English. You will either need to modify the code or convert the data on the broker side.
BP
|
|
|
Post by rwalker43 on Jun 13, 2022 9:14:19 GMT -8
I tested both Chrome and Firefox on the Windows laptop and neither returned a populated OurWeatherPage or OurWeatherAdmin. I cannot communicate with the WeatherPlus using either of those pages. I can, however, communicate using REST commands from the laptop. Everything works using Chromium on the Raspberry Pi. I have no idea why the laptop is not working properly, but I'm moving on to the challenge of trying to integrate with Weewx and don't have time to investigate!
|
|