# Start of a weather station project

**URL:** <https://discourse.nodered.org/t/start-of-a-weather-station-project/63692>\
**Category:** Share Your Projects\
**Created:** [9 June 2022 18:04 UTC](https://discourse.nodered.org/t/start-of-a-weather-station-project/63692 "2022-06-09T18:04:26Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [10 June 2022 11:28 UTC](https://discourse.nodered.org/t/start-of-a-weather-station-project/63692/21 "2022-06-10T11:28:55Z")

</div>

Thanks - I'll follow up those suggestions.

---

<div class="post-metadata">

**Author:** ![Cathprotech](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cathprotech/32/7913_2.png) [@Cathprotech](https://discourse.nodered.org/u/Cathprotech)\
**Post date:** [10 June 2022 15:28 UTC](https://discourse.nodered.org/t/start-of-a-weather-station-project/63692/22 "2022-06-10T15:28:41Z")

</div>

Just a thought but you don't need to use LoRaWAN, but you could have your own point to point or mesh network with LoRa, that way you are not reliant upon a LoRaWAN gateway and you won't be restricted in the amount of daily data either.  
I already use a couple of LoRa 'radio's' to exchange data, no internet required.

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [11 June 2022 09:41 UTC](https://discourse.nodered.org/t/start-of-a-weather-station-project/63692/23 "2022-06-11T09:41:22Z")

</div>

Here's a quick update on the current state of my NRF24 project.

I've got two of my old WS working and sending readings to the Pico-based base-station.  
So Plan-B is now working.

 ![base_station_plan_B](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/9/e9f0247d2847386ddaf9f86a9da79ff03b75ab12.jpeg)

Last night when I was resting in bed before going to sleep I was writing some Python code in my head.  
Yes, I know it sounds weird but my brain seems quite productive when I'm about to go to sleep.

My idea was to use nested dictionaries as a mini database and a table lookup on the wsID (100 or 101).  
Then use the ID to determine which part of the dB to write the incoming radio data.

I'm also using 'lookup' when a command is sent from Node-RED asking for a 'report'.

At the moment the base-station just stores the information and sends a message saying...  
message: "Base-station just got data from remote 101"

Just as a test in Node-RED I use a 'switch' node to check for '100' or '101' and then send a command via MQTT to the base-station asking for a report, like this...

msg.payload = {nodeID: "pico01", cmd: "report", "wsID": 100};  
 ![sat_radio](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/9/c9379b401f3b4dde0ae61e17f243c2ecc58f1b95.png)

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [11 June 2022 13:47 UTC](https://discourse.nodered.org/t/start-of-a-weather-station-project/63692/24 "2022-06-11T13:47:42Z")

</div>

> [@Cathprotech](#):
>
> you won't be restricted in the amount of daily data either

Sure!?? I though you still have to restrict the time on air but I might be wrong. I have two of these devices in a LoRa configuration, works fine

 ![IMG_1324](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/b/db91199c61446a0b91bb5adeae73388056ab8857.jpeg)

---

<div class="post-metadata">

**Author:** ![ScheepersJohan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scheepersjohan/32/39556_2.png) [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Post date:** [11 June 2022 14:11 UTC](https://discourse.nodered.org/t/start-of-a-weather-station-project/63692/25 "2022-06-11T14:11:36Z")

</div>

> [@dynamicdave](#):
>
> Last night when I was resting in bed before going to sleep I was writing some Python code in my head

As long as you don't start talking Python to you wife 🙂

[Previous page](https://discourse.nodered.org/t/start-of-a-weather-station-project/63692.md?page=1)
