#242

Поділитися
Вставка
  • Опубліковано 4 жов 2024
  • 433 MHz devices are used everywhere because they are cheap and easy to use. In this video, I will build an affordable gateway which transfers 433MHz messages via Wi-Fi to out MQTT broker. The device uses RFLink firmware on an Arduino Mega and an old ESP8266 (ESP-01) module.
    Then I connect my new Chinese Weather Station to this gateway and, through some Node-Red porn, get the data neatly on a browser screen. It also can be used to steer all sorts of other devices.
    Links:
    Sketch, Diagram: github.com/Sen...
    433MHz receiver: s.click.aliexpr...
    433MHz Antennas: s.click.aliexpr...
    Small Arduino Mega clone: s.click.aliexpr...
    ESP-01: s.click.aliexpr...
    Wire Stripper: s.click.aliexpr...
    Crimping tool: amzn.to/2S7mwGH
    Empty Shells: bit.ly/2DIsOKs
    Weather station (newer model, not tested): s.click.aliexpr...
    Door/window sensor: s.click.aliexpr...
    Csongor Varga Video 1: • RFLink, 433MHz gateway...
    Csongor Varga Video 2: • Rainfall, usage, consu...
    Other Videos:
    433MHz Hack: • #209 How to Hack your ...
    Happy Wife: • #185 ESP8266 - Google ...
    Wiring Tricks: • #231 7 Tricks on how t...
    Supporting Material and Blog Page: www.sensorsiot.org
    Github: www.github.com...
    My Patreon Page: / andreasspiess
    My Bitcoin address: 19FSmqbBzb5zsYB1d8Bq4KbxVmezToDNTV
    If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel
    For Banggood bit.ly/2jAQEf4
    For AliExpress: bit.ly/2B0yTLL
    For ebay.com: ebay.to/2DuYXBp
    www.facebook.c...
    / spiessa
    www.instructab...
    Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my primary job

КОМЕНТАРІ • 346

  • @avejst
    @avejst 5 років тому +34

    We don't care about naked pcb's
    We love your projects 👍
    Thanks for sharing👍😀

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      You are welcome. And thanks for your feedback. Glad you are so tolerant ;-)

    • @Electronieks
      @Electronieks 19 днів тому

      Send nudes

  • @csongorvarga
    @csongorvarga 5 років тому +25

    Nice project and thanks for the share. Thanks to you my subs just jumped above 10K. Looks like we are celebrating (different) subscriber milestones around the same time. I don't know how to explain the correct pronunciation of my name, but put it into Google Translate, which to Hungarian language and click the speaker icon. Google knows how to say it :).

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +2

      Great you got some subscribers. You deserve it! Another Hungarian viewer wrote that it is pronounced like „church“.

    • @pbolduc
      @pbolduc 5 років тому +2

      Haven't watch any of your videos yet, but since Andreas found it useful, I just subscribed. Thank you and all creators for taking the time to produce this content.

    • @piconano
      @piconano 5 років тому +1

      Hi Csongor,
      I just sub'd to your channel. You have a massive playlist on Node-Red.
      Can you recommend any of your videos that deals with advanced concepts of Node-red and Mosquitto? I need to learn how I can access my MQTT broker running on Raspberry pi, securely from the outside world. If you have any videos, please let me know. Thanks.

  • @eyezonmy6
    @eyezonmy6 2 роки тому

    condensing all the challenging work of finding the best solution into a very clear and concise flow.. Thankyou!

  • @abhijitborah
    @abhijitborah 5 років тому +2

    ATMega or not, its still a Mega Project. Saving video for future reference. Thank you for creating it.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      You are welcome! Most of it was not done by me. I was mainly the assembler.

  • @cpfs50
    @cpfs50 5 років тому +1

    Hi Andreas, what a great tutorial, as always. Good to see other suggestions in the comments too. You've inspired me to have a bash at this over the winter. By the way, Congratulations on reaching 100,000 subscribers, well deserved and fantastic.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      You are right: It is fantastic for a nerd like me :-) And I love all the comments of my viewers. It shows how many bright guys we have amongst us. Sometimes a little scary if I press "publish". Always expect a "shitstorm because I got something completely wrong

  • @StefanoBettega
    @StefanoBettega 5 років тому

    Awesome project Andreas. It's always a pleasure to watch your videos. They make me wanting to know more about these technologies, especially NodeRed. Many thanks!

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      You are welcome. Node-Red is quite interesting. You fin a few other videos about it on this channel if you want.

  • @gte24v
    @gte24v 5 років тому +1

    As usual great, thought provoking stuff Andreas, many thanks. You also had a smaller receiver in your collection, which looks like the one I use - the basic advice would be to steer clear of the super-regenerative receivers as they just aren't good enough, the superhets are far, far better. My version of this project removed all the electronics from the outdoor weather station and reused it's sensors for wind and rain plus a Bosch BME280 for temp, hum and pressure. I used an Arduino Mini outdoors and made the whole of that part solar powered with an INA219 board monitoring mAh connected to the Arduino. I know what you mean about the database being needed for aggregation over time, for wind (gust versus live) I record values in an array on the Arduino and then take an average once per minute for the 'live' figure and send the max as 'gust'. Connection to the house is using the Radiohead library, which works very well indeed. Indoors a simple Wemos D1 Mini is connected to the (superhet) receiver and a Nextion display, with rainfall aggregation handled there as well as transmission to WeatherUnderground and ThingSpeak (for battery data). Lots of ways to do this as always, and yours was much easier, as always? :-). My battery data is here: thingspeak.com/channels/343059 but you will see I had to disconnect the battery to change a faulty BME280 recently and didn't reconnect it with a discharged 18650, so the mAh value is currently wrong. WeatherUnderground feed is here: www.wunderground.com/personal-weather-station/dashboard?ID=ILONDON691 and I believe this data is currently reliable. Enjoy, and thanks for the videos. :-) from Ian T near London.

    • @Psi-Storm
      @Psi-Storm 5 років тому

      The rxb6 is a superhet receiver. I get around 40m receiving distance with a cheap car door opener to a rxb6 with a 17cm wire. The 2$ 433 transmitter he showed is probably only to test the receiver. If you know a receiver that is better than the rxb6 please share.
      Edit: The srx882 is supposed to be even better than the rxb6 and is really cheap. Around 2$ as a transmitter + receiver set from china. Found an offer with amazon prime shipping, 14€ for 3 complete sets.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      @gte24v Maybe I also will replace the electronics one. But for ht moment it works. We say here "Never change a winning team".
      But you never know. I would like to add a few more sensors (light, UV). But maybe I just create a second box.
      I checked your sensor and it is up and running ;-)

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      @Psi Storm Thanks for sharing your experience

    • @shyujack8919
      @shyujack8919 5 років тому

      gte24v give g

  • @PhG1961
    @PhG1961 5 років тому

    Great video and quite a challenge I believe. Looking forward to see what's coming up next with this gateway.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      433 MHz is an interesting technology. Simple and cheap. It will for sure be used also in the future of this channel...

    • @PhG1961
      @PhG1961 5 років тому

      @@AndreasSpiess Great, now that my workshop is almost finished (interior still going on....) I think your weather station might be one of my next projects.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      I am glad you do not need to work outside anymore :-)

  • @HunTomiBp
    @HunTomiBp 4 роки тому

    Thanks for video!
    Tamás, from Stockholm

  • @marioroberts9564
    @marioroberts9564 5 років тому

    Love the way you have simplified this 👍🏾

  • @jagjitsinghrehill
    @jagjitsinghrehill 5 років тому

    InfluxDB and Node-Red are are powerful combination. I initially used the UDP method of writing to InfluxDB, with visualisation in Grafana. I then changed to use the one of the nodes available for InfluxDB to run queries from Node-Red. The syntax for InfluxDB takes a while to get used to but is well documented. Using the DATE and TIME functions in Node.js I have managed to create dynamic queries for each day/week/month.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      I am not sure I will do the querying from node-red. I think I will store the values and then do the display with Grafana. I hope I will get it running...

  • @adtwomey
    @adtwomey 5 років тому +1

    nice you got a link to your weather station, another good video buddy

  •  3 роки тому

    Amazing dude. Thank you. I love making things tooo

  • @nburton01
    @nburton01 5 років тому

    As usual a great project Andreas, many thanks. Tried to do this a few years ago and didn’t get anywhere.
    Ended up buying a RFXCOM - RFXtrx433 to USB 433MHz Transceiver connected to a Raspberry Pi running Domoticz . Not a cheap solution though.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      At least it seems to work. That is already something ;-)

  • @timmydeee
    @timmydeee 5 років тому

    congrats on the hundy mate, well deserved indeed!!!

  • @SarahKchannel
    @SarahKchannel 3 роки тому

    I just built a real time tide sensor / monitor, where the sensor is 250m off shore but connects via nRF to a transceiver. I can tell you that my Node-Red flow does not look simpler.
    Mainly due to me wanting to detect "Tide Rising", "Tide Falling", "High" and "Low" tide, all in real time.... so easy when looking a chart, but more tricky when integrating real time data.

    • @AndreasSpiess
      @AndreasSpiess  3 роки тому

      Interesting project! Sometimes it is easier to use a function node and program the logic in Java Script... But in your case you probably need access to a database. Did you look at python for the logic?

    • @SarahKchannel
      @SarahKchannel 3 роки тому

      @@AndreasSpiess I cant stand Python, C++ or JavaScript is good, I am quit happy to ignore Python wherever possible :)

  • @martinsauerteig4882
    @martinsauerteig4882 5 років тому

    Congratulations! you just hit 100.000 subscribers

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Thank you. You were faster than me to discover that I crossed this line :-)

  • @electronic7979
    @electronic7979 5 років тому +2

    Nice project

  • @SmithyScotland
    @SmithyScotland 5 років тому +12

    Use a Sonoff RF Bridge 433, flash with tasmota, total cost about $20.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      Did you do it? It seems to have two different processors which have to be flashed.

    • @FlorianRB
      @FlorianRB 5 років тому +3

      This solution will not cover all the protocols supported by RFLink

    • @insti123
      @insti123 5 років тому +6

      @@AndreasSpiess it's a piece of cake! You can even program the RF chip using Tasmota...
      github.com/Portisch/RF-Bridge-EFM8BB1
      github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-RF-Bridge-433
      BTW, you can also use the RAW sniffed message, no need to know about predefined protocols.

    • @gte24v
      @gte24v 5 років тому +1

      Interesting comment, thanks. Might be worth getting one of the SonoffRe devices that has the receiver populated.

    • @JonathanWellskcender
      @JonathanWellskcender 5 років тому +15

      Or if you want to stay on the DIY side, use the OpenMQTTGateway project. Supports 433Mhz and 315Mhz modules along with many other sensors. I'm using it to control my RF lights and as a replacement for IR remotes through MQTT.
      Only need an ESP, no arduino mega.

  • @sargetester99
    @sargetester99 5 років тому +2

    Grafana sounds interesting. I hope you will make video about using it for projects

  • @bspringer
    @bspringer 5 років тому +2

    You could use an atmega 2560 with an esp32 in the form factor of an Arduino Mega on the same board from banggood

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Another viewer also suggested this solution. I did not know this combination exists. Thank you!

    • @bspringer
      @bspringer 5 років тому

      @@AndreasSpiess I recently came across this when exploring banggood's "singles day"-deals. I also didn't know it beforehand

  • @lukaszpodgorski
    @lukaszpodgorski 5 років тому

    Great Job Andreas :) I love your videos 👍👍👍👍

  • @oscarrijpstra9022
    @oscarrijpstra9022 5 років тому

    From my Software Developing persective, I advise Node js with Express to save the data into an PSQL database. Using Heroku you can use 10000 rows for free. Alsso and you can create you own api

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Sounds like a big project. Nothing for me because I do not know these products. But maybe others are more fluent in these things...

  • @Giblet535
    @Giblet535 5 років тому

    The MySensor project might interest you. There's an ESP gateway project for MySensor as well. It's a little quirky with the NRF24 radios, but worth the effort as it creates an elegant sensor & sensor repeater network. I'm a little surprised you went with an Arduino and ESP-01 instead of a cheaper and more powerful Pi 0 W, but assume it's related to parts-on-hand. We all jump onto ideas with hobnail boots before we have the ideal parts in stock.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Viewers pointed me to the RFlink library and this does not work on RPIs.
      I looked at this code but saw, that it only has an initial commit in 2016. Or do you have a better link?

    • @Giblet535
      @Giblet535 5 років тому

      @@AndreasSpiess I don't have a link for a native Pi RFlink library, sorry, but Domoticz will connect to RFlink, and Domoticz provides a fairly simple REST API for scripting via Python (or any other language). diyprojects.io/how-build-rflink-433mhz-radio-home-gateway-domoticz/ That's a very inexpensive (and powerful) alternative. Alternatively, you could re-use the Domoticz RFlink code to create a library or an RFlink Python module.

  • @meinsda5983
    @meinsda5983 5 років тому +1

    Andreas! Great Job! I am also working on the same Project at the moment, but i want to but them all on a ESP32 oder ESP8266.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      So we are two with the same goal ;-)

    • @meinsda5983
      @meinsda5983 5 років тому

      Great! We will stay in contact!

  • @daskasspatzle2396
    @daskasspatzle2396 5 років тому

    Well done once again :-)
    I would appreciate more about grafana.
    And i guess this would be problematic in Germany because of the DSGVO...
    Thanks for this Video ;-)

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      I looked it up in the urban dictionary and it is used for such things. Like f**k also can be used for different purposes;-) I am also interested in Graphana. So I have to do it once.

  • @ThiefKingBakuraX
    @ThiefKingBakuraX 5 років тому

    Congrats on 100k!!

  • @DavidProRider
    @DavidProRider 3 роки тому

    thanks fo sharing! BTW: Weather Stations like Bresser seems to transmit packets at 868MHz, so probably you'll need another receiver (HW)

    • @AndreasSpiess
      @AndreasSpiess  3 роки тому

      I think so. And also different codes.

    • @SheeplessNW6
      @SheeplessNW6 Рік тому

      I think that may depend on regional differences in regulation. I have some Bresser kit which uses 433 MHz.

  • @Imstalcon
    @Imstalcon 5 років тому

    i have a good theme for your future videos: how to made cheap esp zig bee gateway. Today there are a lot of different devises for smart house automation, but all of them to connect to the Chinese cloud. the devices themselves look beautiful, run on batteries for years and they are cheap.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      So far I always refused to use zigbee because of its price. Do you have a link for these cheap modules?

    • @Imstalcon
      @Imstalcon 5 років тому

      @@AndreasSpiess github.com/Frans-Willem/AqaraHub

    • @Imstalcon
      @Imstalcon 5 років тому

      @@AndreasSpiess By the way, in our country has gained popularity free smart home system majordomo, I do not presume to judge what is better than node red or it, but I think it's easier to set up, of course the main thing for me is that it is free :)

    • @wassfila
      @wassfila 5 років тому

      @@AndreasSpiess the nRF52840 modules are cheap and support zigbee, but I plan to use them for openthread and leave zigbee for even cheaper xiaomi aqara, I use them with zigbee2mqtt and also 2 influxdb 2 grafana, more overview here hackaday.io/project/20388-home-smart-mesh/details

  • @davidfont2596
    @davidfont2596 3 роки тому

    I thumbs upped this video after @0:28 LoL!

  • @klassichd10
    @klassichd10 5 років тому

    Welcome in the world of RFLink users and the cheap 433 devices! Most probably you will not spend less money but you will have much more devices for the same money.
    Good idea with the small Mega substitutes. Unfortunately the mine is already ready build in into a cheap 3EUR enclosure and running for a long time with currently 53 devices, 2 or 3 channels each. Mostly cheap T/H, motion detectors, door/windows contacts.
    It even worked with a single wire through a single sided pcb as an antenna. But now I am using the very good Aurel 433 groundplane. I derive the supply of the receiver directly from the 15V of the Arduino by a capacitance Multiplier and a subsequent 7805 to reduce the noise a lot.
    I do the administration of the devices as well as archiving, data logging and plotting with ioBroker. Very conveniently! It has ist own history function as well as adapters to influxDB or other commom data bases.
    Have fun with your cheap 433 devices!

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Seems to be a big installation. Thanks for sharing your experience! I got a few links to other solutions. Maybe I will try them, too. And if it is worthwhile, make a comparison. The 433 MHz devices are really quite fun!

  • @matthewblackstone7347
    @matthewblackstone7347 5 років тому +1

    Another option is a RTL-SDR and rtl_443 running on a Pi

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      This is what I did in my last (SDR) video

  • @LeifNelandDk
    @LeifNelandDk 5 років тому +3

    Regarding 5V input to ESP: I have this from Facebook: "Teo Swee Ann (CEO of Espressof): I can reply officially here: it is 5V tolerant at the IO. while the supply voltage is at 3.3V."

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      I know his statement. Unfortunately it never made it to the data sheet...

  • @zukjeff
    @zukjeff 5 років тому

    pitty RFlink is not public , a Sonoff 433 with inbuilt esp8266 would have been a perfect base for this project. Good job again.

  • @thesimbon
    @thesimbon 5 років тому

    There also the option of broadlink rm pro, as it is supported by many home automation systems and you get the bonus of IR blaster

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      I have one which is only an IR blaster. But I got the impression they are closed source. Did you work with them?

    • @thesimbon
      @thesimbon 5 років тому

      @@AndreasSpiess not yet. One is on the way. They are closed source but there are ways of connecting them to home automation controllers. Even the Alexa you have should handle it.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Thank you.

  • @NextLevelCode
    @NextLevelCode 4 роки тому

    Can get sonoff gateway now cheap and easier. But still enjoyed the video :)

    • @AndreasSpiess
      @AndreasSpiess  4 роки тому

      It seems to support a very limited selection of 433 sensors. If yours is supported, no problem.

    • @NextLevelCode
      @NextLevelCode 4 роки тому

      @@AndreasSpiess Yes you are right. I started running into the problem recently. I will buy the parts and copy your guide :)

  • @viniciusnoyoutube
    @viniciusnoyoutube 5 років тому

    Great video.

  • @babakhallajian684
    @babakhallajian684 5 років тому +1

    Hi Andreas,
    would you please make a program about FPGA and how connected some modules to FPGA modules preferably DE-Nano board.
    Thanks

  • @indramal
    @indramal 5 років тому

    Thank you very much.

  • @robertjaeger129
    @robertjaeger129 4 роки тому

    Also many thanks for this great video from me:-)!
    My "entry" and first video into your channel was #255 ... and since then my enthusiasm has been growing day by day! Now I'm increasingly interested in the topic of weather stations;-). Well, there are quite a few sellers of these, e.g. can also be used with RFlink, etc. But I had to find out that, according to feedbacks/reviews, some stations don't work as well as the manufacturer claims ... or they malfunction after a short time (TFA, Ventus, etc.).
    So, my question is:
    How is your experience with weather stations? In this video I can see a station (0:24 for example) which looks like a DKW-2012 from Alecto (?!), but in your link below you mentioned a chinese one from Misol...
    Thanks for a helpful info!
    Robert

    • @AndreasSpiess
      @AndreasSpiess  4 роки тому

      I have the station mentioned in the link from China and it works for quite a while now I only had to change batteries once in a while. For sure you get better quality stations. But for me it is ok. They are probably sold under different names also in western stores

    • @robertjaeger129
      @robertjaeger129 4 роки тому

      @@AndreasSpiess Ok, thanks for your fast reply! Hmmm... the current version from Aliexpress in your link looks quite different from what I saw in your nice video - that's why I asked about this detail, too. Your station looks like this one, called DKW-2012 (not available anymore):
      www.conrad.nl/p/profi-wetterstation-2012-dkw-2012-digitaal-draadloos-weerstation-voorspelling-voor-1-dag-679477
      Moreover, I discovered in your video #255 the name "DKW2012" in the msg433 object (@ 9:23, for instance). That's why I'm still a bit confused...

    • @AndreasSpiess
      @AndreasSpiess  4 роки тому

      Now I understand. They changed it because it probably was replaced. The base station seems to be the same, so there is a chance they did not change the inner parts. I adapted the description in hte video.

  • @badacconosu
    @badacconosu 5 років тому

    Im so slow on the uptake i had to wach the video several times to see to understand.. xD but great idea and video!

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      As I said at the beginning: Hardcore ;-)

  • @MrEXXS
    @MrEXXS 3 роки тому

    Hello Andreas, what i still miss here is a tutorial about a 433Mhz transmitter. For example an additional sensor that sends to this gateway via an ESP32.
    I would also be interested in the selection of the transmitter module. Many thanks

    • @AndreasSpiess
      @AndreasSpiess  3 роки тому

      Just use any of those small transmitters. They are not critical.

    • @MrEXXS
      @MrEXXS 3 роки тому

      @@AndreasSpiess Let's see if I can do it. I will report the result.

  • @haajee1
    @haajee1 5 років тому

    I ordered a USB to ESP-01 board in the hope to flash it more simple. And yes it's possible but only if you make a little modification as you can read if you seach on google ESP-01 usb programmer modification.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      You are right. I also had one laying around. You just have to add the GPIO0 to GND connection.

    • @haajee1
      @haajee1 5 років тому

      @@AndreasSpiess yes, i am very happy to know because its very circuitous to flash this ESP-01 devices. BTW i have ordered 2 ESP-01 compaitble boards named "Wavgat WIS600" just because i'm curious how it works. Do you know this boards?

  • @mihumono
    @mihumono 5 років тому

    You don't need any voltage dividers or converters to connect esp8266 to 5v arduino serial. ESP8266 pins are 5V tolerant except for the analog input and of course power input ;D

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      I think I mentioned that. But according to the datasheet they are not 5volt tolerant

    • @mihumono
      @mihumono 5 років тому +1

      @@AndreasSpiess Well, I remember seeing post from Espressif employee saying they are 5V tolerant. Never had one failing on me.

    • @mihumono
      @mihumono 5 років тому

      @@AndreasSpiess actually it was espressif CEO who said that watch all the replies on this facebook.com/groups/1499045113679103/permalink/1731855033731442/?hc_location=ufi
      also this www.ba0sh1.com/blog/2016/08/03/is-esp8266-io-really-5v-tolerant/

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      I know these posts. But I do not know why they never adapted the data sheet.

  • @SteveWrightNZ
    @SteveWrightNZ 5 років тому +4

    Also see RRDTool

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Thank you for the tip. This tool was mentioned a few times in the comments.

  • @ivailodjilianov3238
    @ivailodjilianov3238 3 роки тому

    Andreas, Thanks for the great video and wonderful channel. Can you please comment on the battery life of your weather station? I'm looking for a station that can be solar powered as getting on my roof is a bit challenging, so I don't want to do it more than once per year if possible...

    • @AndreasSpiess
      @AndreasSpiess  3 роки тому +1

      My (commercial) weather station runs about a year on two AAA batteries.

  • @stephang5671
    @stephang5671 5 років тому

    Hi Andreas Thank you for your great work. Two questions: - 1.) How do you store Resistors? I'm looking for a storage box for 65mm long elements. I remember you had a video about lab equipment, but I can't find it. 2.) Could you give infos on how to enhance the sensitivity of a garage drive unit (433 MHz)? Actually it is just a app. 30 cm cord (Litze). Sorry my limited English in writing. Greetings Stephan (Gruess us em Aargau!)

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      1. I use a bunch of those: bit.ly/2u5C16c . Not cheap, though.
      2. I do not see a big chance to enhance the sensitivity. Wavelength is about 70 cm. So a normal antenna would be 17 or 35 cm long. So the one you see seems to be long enough. Maybe you have a look that it is not near metal.

  • @MrZhefish
    @MrZhefish 3 роки тому

    I'm absolutly noob to this, so maybe i miss something that is clear to you all: according to the diagram you connected more to the pin out of the esp in the final assembly than shown in the diagram. not only the RX but it seams also a 3.3v high on the CH_PD/EN @8:15. i mentioning this because i have troubles to make it work. i found a french forum post that instead of the Enable, he connects the high to rst high. gotta try all of those tho.

    • @AndreasSpiess
      @AndreasSpiess  3 роки тому +1

      Enable and reset is usually the same pin, just different names. It has to be high during operation. Often it is "pulled" to 3.3 volts with a 10k resistor (value not critical). On many boards this is included and you can leave the pin open.
      If it does not work I suggest to start with a blink sketch to make sure your programming and your ESP works. Only then you go on.

    • @MrZhefish
      @MrZhefish 3 роки тому

      @@AndreasSpiess Grüezi us Spanie. Thank you for your answer, i managed to debug it to the point where i could isolate the problem i have to the "rx" Connection on the ESP to RFLink. i used the espRFLinkMQTT native github build to get a debug method to see what is happening between the two problem children. i can successfully send to the Mega now, and it does register it. but it looks like i can't receive to the ESP the data from the MEGA. I'm going to look into it after a nice Mittagschlaf which we call here siesta :-) Thank you for making those topics more accessible for simple blokes like me :-)

    • @MrZhefish
      @MrZhefish 3 роки тому

      Little update, i eliminated the voltage divider and it works now. i did measure both resistors with the ohm meter, and they are connected correctly, but still no luck with them.

  • @asimabusallam3147
    @asimabusallam3147 3 роки тому

    thanks

  • @electron-1979
    @electron-1979 5 років тому

    Cool!

  • @Ed19601
    @Ed19601 5 років тому

    The esp-01 by itself is already capable of doing mqtt RF.
    Maybe not with RFlink software as I never tried that particular software

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      That’s what I also thought. Which software did you use?

    • @Ed19601
      @Ed19601 5 років тому

      I made my own software that incorporated the RemoteSwitch library, but in the past I also used RCSwitch.
      There is also a project by 1technophile that incorporates MQTTRF/IR/BLE/RFM69. Works on a Wemos or ESP32. But no doubt you were aware of that one github.com/1technophile/OpenMQTTGateway

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      Quite a few viewers pointed me to this project. But I have to check if it also decodes sensor data or only fixed codes.

    • @Ed19601
      @Ed19601 5 років тому

      @@AndreasSpiess I seem to remember it uses the RCswitch library which suggests it looks for specific patterns it can read. Weather stations e.g. often use Oregon code and it could well be that is gobbledyduck to the Open QTTGateway. I think somewhere on their wiki is a link to devices that are recognized. Best check it out yrself

  • @zvpunry1971
    @zvpunry1971 5 років тому +1

    4:12 What is the name of that working door-sensor, or what search terms are to be used to find this product? Does it transmit on open and close? There are door-sensors that just transmit on open.
    A coworker wants to know if the door of the washing-machine is open or closed. If it is closed, it means that there is something in it that should be transferred into the dryer. I said that he could just add such a sensor to it and receive it with rtl_433. But he read somewhere (probably a random amazon review) that these sensors transmit only for the transition from closed to open.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      You should find a link in the description. It sends a signal for open and close

    • @zvpunry1971
      @zvpunry1971 5 років тому

      Thanks for adding it to the description. :)

  • @gnakfaskdm
    @gnakfaskdm 4 роки тому

    Rcswitch2 Node is available for node-red, which I didn't manage to install yet. Simply plug the 433 transmitter and start transmitting signals. Same for receiving. Wouldn't that be that the easiest way to build a 433 gateway?

    • @AndreasSpiess
      @AndreasSpiess  4 роки тому +1

      You still need rcswitch installed on the Pi and I did not find my devices in rcswitch. In addition you have to place your Pi where you need your Receiver.

  • @georgejbaker
    @georgejbaker 5 років тому

    Have you got a link for the weather station? P.S love your channel and all the content that you do for us 'pretty youtubers'

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      The link should be in the description now.
      BTW it is not "pretty". I say "Grüetzi" which means "Hello" in Swiss German. But you are not the only viewer who understands "pretty" ;-)

    • @georgejbaker
      @georgejbaker 5 років тому

      @@AndreasSpiess no the link for the weather station is not in the description, I did see the links that were there though, that's why I thought I would mention it.

  • @bardenegri21
    @bardenegri21 5 років тому

    Interesting software this RFLink. I wonder if it really supports more devices than the rc-switch library used in tasmota and openmqttgateway or if they just tested more devices. Hard to say.. For my RF bridge I use espurna, but used tasmota and openmqttgateway in the past just as well.
    That node red flow seems quite excessive, think it would be more efficient to just write a python or php script to process the data from the DB when needed. But that's just my preference, I like to keep nodered clean since it gets hairy very very fast.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      I will look at openMQTTgateway and test if it supports my weather station. I am not sure if Espurna supports any sensors or only switches with fixed codes.

    • @FlorianRB
      @FlorianRB 5 років тому

      @NS Gaming I assure that RFLink support more devices compared to RCSwitch library, for having made some comparisons on them. The only one that can maybe compete with RFlink is Pilight library. Pilight has been integrated into OpenMQTTGateway a fews weeks ago (thanks @steadramon & @puuu) and is still in tests phase.

    • @FlorianRB
      @FlorianRB 5 років тому

      @@AndreasSpiess OpenMQTTGateway with the gateway based on RCSwitch (ZgatewayRF) or on newremoteswitch libraries (zgatewayRF2) should not support your weather station. Previously I was used to switch users to BLE path (ZgatewayBT) with mi flora or mi jia sensors when they asked for a weather station. But as said on the comment above @steadramon integrated Pilight into OMG. With Pilight there is a more chance that your weather station can be supported but it is currently on test phase. In all the case if you have questions feel free to ask it on the forum or PM me on it community.openmqttgateway.com 1technophile

  • @rklauco
    @rklauco 5 років тому

    Isn't there a possibility to get info from meteoswiss? Those are, at least for next 24 hours, really good. And, btw, there are esp01 programming boards that include 3.3V regulator, serial interface and slot for esp, some of them have a switch for programming and normal boot. Bought 1 on ali, works like a charm.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      1. unfortunately I did not see an API from them. I would be glad they would open up.
      2. Do you have a link for the programmer?

    • @Psi-Storm
      @Psi-Storm 5 років тому

      @@AndreasSpiess de.aliexpress.com/wholesale?catId=0&initiative_id=AS_20181125072253&SearchText=esp01+programmer

  • @bgable7707
    @bgable7707 3 роки тому

    What keeps us from using a Nano, etc? You mentioned the code is written for the Mega, but, can't it be modified?

    • @AndreasSpiess
      @AndreasSpiess  3 роки тому

      RF link only works on a Mega. You do not get the source code :-(

  • @thehoarder9771
    @thehoarder9771 3 роки тому

    What is the size of the data sent from the meteorological station that includes measuring wind speed and direction - temperature - humidity - intensity of solar radiation

    • @AndreasSpiess
      @AndreasSpiess  3 роки тому

      I never counted the bytes from the station. The gateway sends 92 bytes

  • @grindel80
    @grindel80 5 років тому

    Hello everybody. i want to build this but i wonder how to decide which sensors to by from aliexpress. i see the "compatibility list" from RFLink. But the cheap Aliexpress Sensors have no brand. I like to use Thermometer / Hygrometer and Door Sensors in first place. So, wich (cheap) ones should i buy?

  • @stromcontainer
    @stromcontainer 4 роки тому +1

    I just found this video with the interesting way to not connect via serial port to the Pi - and, some nice guy invented a node called
    flows.nodered.org/node/node-red-contrib-rflink
    which can easily decode the messages from the RF-Link GW.

    • @AndreasSpiess
      @AndreasSpiess  4 роки тому

      Interesting when you connect the Arduino Mega directly to the Raspberry. In my case I needed the 433. MHz receiver at a different place,

    • @stromcontainer
      @stromcontainer 4 роки тому

      @@AndreasSpiess I do not have a house yet (-: - just one floor - so all is on the same level

  • @glennedgar5057
    @glennedgar5057 5 років тому

    Good job . Interested in your inflyx db work

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Will take a while...

    • @m30559
      @m30559 3 роки тому

      ​@@AndreasSpiess Are there chances for the influx-Version? It'd be a great upscale for everyone with openhab and similar systems.

  • @ericakeret4517
    @ericakeret4517 5 років тому

    Hi Andreas, thanks for the nice project which I started to build. However I faced a couple of issues:
    lines 32 & 33 should read
    const char* ssid = "mySSID";
    const char* password = "myPASWORD";
    in line 92.
    if (client.connect(clientId.c_str()),MQTT_USER, MQTT_PASSWORD) {
    Should be
    if (client.connect(clientId.c_str(),MQTT_USER, MQTT_PASSWORD)) {
    Finally on the wiring diagram, could you specify which Tx port (I assume D1 on a
    Mega 2560 PRO board) sahll be used to connect to the ESP01 ?
    Gruezi aus Lausanne
    Eric

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      I have a file with the name "credentials.h" in my libraries folder where I keep all the passwords and other definitions. You can replace them with your own in the sketch as you did with the credentials or once create a credentials.h file in the librariy folder.
      A wiring diagram should be on Github.

  • @Valenorious
    @Valenorious 5 років тому

    Definitely on my to-do list.
    I have temperature sensors that RTL_443 interpreted successfully. But I'd like to learn it the hard way through coding an Arduino from the ground up, protocol agnostic. I'm looking for a guide/tutorial/blog that examples programming an arduino to record the output of a ASK/OOK receiver, noise filter, analyse the timing of the pulses and dumps result over serial (as unknown protocol), and subsequently develop code to interpret de bitstream to whatever data that is in the packet. Does anybody have a link to something like that?
    I know there is one because I've seen it. That recorded and output a spectrumplot of recent pulse lengths, but I can't find the link to it.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      I do not know if there is a standard way. For switches where you only need one or two codes, it is easy. For sensors transmitting numbers, it usually is a work for Sherlock Holmes.
      In general, you have a preamble where you can detect the timing and then the code.

    • @Valenorious
      @Valenorious 5 років тому

      @@AndreasSpiess After some more digging around, I found Jeelabs.org blog. Which comes quite close to what I was looking for: jeelabs.org/2009/03/10/decoding-433-mhz-kaku-signals/ [edit: and this jeelabs.org/2010/04/13/an-ook-scope/ ]

  • @stefansweerts3825
    @stefansweerts3825 5 років тому +1

    Hi Andreas, with the idea of happy wife(girlfriend) in mind. Is it not a nice idea to connect this project to opentherm so your house is on the right themperture ;)

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      Our heating is extremely slow and heats up unnecessarily if a strong sun shines during the morning. I consider since a long time to use the weather forecast to switch the heating off early if I know the sun will shine. The rest is done by cheap thermostats.

  • @adil_daoudson
    @adil_daoudson 5 років тому

    Dear Andreas, I am using OpenEnergy Monitor
    (OpenEnergyMonitor.org) V 9.8.31 to collect timeseries data with datavisualisation capabilties (not as advanced as Graphana for sure). Is there any chance to have the RFLink code to work wtih ESP8266 E12/ Board (HW-628) ? Thank you for your work.

  • @jeroendevries9525
    @jeroendevries9525 5 років тому

    Thanks, I used your AliExpress links to order stuff. Why did you use a 1000uf 6.3v capacitor?

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Thank you for your support! I use this capacitor because of stability issues with the ESP8266. I made a video about it quite a long time ago (deep sleep) where you see the effects.

    • @jeroendevries9525
      @jeroendevries9525 5 років тому

      @@AndreasSpiess Found it thanks!

  • @OldCurmudgeon3DP
    @OldCurmudgeon3DP 5 років тому

    RFLink being "free" and closed source is a bit odd. Restricting it to a mega even more so. I need this to work with Honeywell 315MHz devices.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      The 315MHz could be solved with a different receiver. The protocol has to be tried out, most probably.

  • @baseladams280
    @baseladams280 4 роки тому

    Hello Andreas,
    Thanks a lot for your great videos!
    I have a very basic question. I have created a Node Red Dashboard on my Raspberry Pi. I connect my Raspberry to Internet using Huawei 4G to wifi router.
    I would like to acces to my Node red Dashboard from any pc in the world over Internet. Do you have any suggestion how to do this?
    Thanks a lot and best greatings!

    • @AndreasSpiess
      @AndreasSpiess  4 роки тому +1

      You have to search for openVPN, for example. I recently mad a video (IOTstack) where I showed it

  • @darvin1982
    @darvin1982 5 років тому

    Wieder einmal ein sehr schönes Video! Danke dafür!! Kannst du mir bitte verraten wo du die Wetterstation gekauft hast. Ich kann das Video einfach nicht mehr finden. Danke und mach bitte weiter. Grüße aus Bamberg :)

    • @martinsauerteig4882
      @martinsauerteig4882 5 років тому +1

      Ich darf kurz unterstützen: ua-cam.com/video/L0fSEbGEY-Q/v-deo.html

    • @darvin1982
      @darvin1982 5 років тому

      @@martinsauerteig4882 Danke👍

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      Extra für dich have ich den Link auch in dieses Video gemacht ;-) Ich hätte schon vorher dran denken können...

  • @wanderingzanzey2126
    @wanderingzanzey2126 3 роки тому

    Since this works using 433MHz could i use this same principle with 868MHz LoRa boards?

    • @AndreasSpiess
      @AndreasSpiess  3 роки тому

      If your other devices are on 868, no problem.

  • @svenpetersen1965
    @svenpetersen1965 5 років тому

    Das Gehäuse bring das Produkt dem Kunden näher :-)))

  • @Wheeze_NL
    @Wheeze_NL 5 років тому

    I'd like to know the details on the Weather Station, where to buy and which one.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      The link should be in the description now.

  • @squalazzo
    @squalazzo 5 років тому

    Hi Andreas, what about an arduino mega with embedded esp8266? Link in next comment, to prevent youtube antispam filters...

    • @squalazzo
      @squalazzo 5 років тому

      it.aliexpress.com/item/NEW-Mega-WiFi-R3-ATmega2560-ESP8266-32-m-di-Memoria-USB-TTL-CH340G-Compatibile-Per-Arduino/32926370442.html

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      Thanks for the link. Would have been a good fit. But I did not know it exists :-(

  • @madhusudhang8254
    @madhusudhang8254 5 років тому

    connect to esp8266computer's USB ports, everything working fine. But, if I connect esp8266 to separate charger that has USB port, then esp 8266not running code

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Unfortunately I cannot do remote debugging.

  • @JyskMaker
    @JyskMaker 5 років тому

    Hi like your videos. :-)
    How about making a programmel ir blaster that works with MQTT, so you can control IR things, tv, Radios and so on. I know you can by one, but how about making one DIY :-)

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      I have some high-performance IR diodes and want to use them. Maybe you will see a video in the future.

  • @ralfblumhoff7930
    @ralfblumhoff7930 5 років тому

    Hello Andreas! Happy new year to you and your family! This is also my first project in 2019. First I had problems connecting to the MQTT-Broker. It logged that no user and password were given. So I went deeper and noticed wrong brackets in line 93 of the code. I had to change it this way:
    if (client.connect(clientId.c_str(), MQTT_USER, MQTT_PASSWORD)) {
    Could you cross-check, please?
    Thank you very much.
    Many greetings from East Frisia (Germany) wishes Ralf

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      You are right. Thank you. Corrected on Github

  • @kitelander
    @kitelander Рік тому

    How long does the battery in the station last and is the station still working after this time?

    • @AndreasSpiess
      @AndreasSpiess  Рік тому +1

      The battery lasted for about a year. But I had to replace the device after about 4 years of operation.

  • @al_lazy3519
    @al_lazy3519 5 років тому

    I know in this case it's not a critical detail, but what's the quality of the 433 MHz antennas? Is their resonance frequency close enough to 433?

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      I do not know. I do not have the gear to test it because I do not know the impedance of the receiver module.

  • @farkasroman
    @farkasroman Рік тому

    gruzi Andreas
    ich become nur diese daten in RFlink ,. .wo ist das problem ?
    20;56;FineOffset;ID=0000;TEMP=0000;HUM=00;

    • @AndreasSpiess
      @AndreasSpiess  Рік тому

      Komisch. Deine Wetterstation wird als Temperatursensor erkannt. Ich weiss nicht warum. Ich würde mal mit dem Oscilloscope schauen ob ein Signal empfangen wird.

  • @Kaaputenen
    @Kaaputenen 5 років тому

    Great project but US (and Canada I think) viewers should note that 433mhz is not allowed here. 900mhz is the best we can do for lower-frequency unlicensed comms as far as I know.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      So far you are the only viewer reporting this. I thought 315MHz is used in the US instead of 433. At least I see many 315/433 MHz devices.

    • @Kaaputenen
      @Kaaputenen 5 років тому

      @@AndreasSpiess Hmm, it seems it's not as cut and dry as I thought. You are allowed to transmit on 433MHz here but there are a lot of rules about how long/how often you can transmit for. And I hadn't really heard of 315MHz but apparently that falls under similar rules and is used for garage-door openers and other devices. This seems like a good reference: linxtechnologies.com/wp/wp-content/uploads/fcc_resource_document.pdf
      edit: Congrats on 100K subscribers today!

  • @jurek-zz3un
    @jurek-zz3un 5 років тому

    It is possible to connect 433.92MHz module and 868MHz module at the same
    time?

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Why not if you have the software. But they will not hear each other

  • @JorgeBlancoPhotography
    @JorgeBlancoPhotography 5 років тому

    I did a project like this completely only using an esp8266 and a 433 receiver nothing else.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Which software did you use? And did you also have a Weatherstation connected?

    • @JorgeBlancoPhotography
      @JorgeBlancoPhotography 5 років тому

      @@AndreasSpiess I was able to read the temps from my digital weather station it is a simple one, maybe not as nice as yours
      i used the to help me read the 433 data, i also have an 433 transmitter connect to the esp8266 so i could control 433 stuff like light sockets and ac plugs
      here is the link for the lib i used
      github.com/sui77/rc-switch
      i don't like having so many moving parts in a project if possible

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Thanks. Does the rc-switch library also decode sensor values?

    • @JorgeBlancoPhotography
      @JorgeBlancoPhotography 5 років тому

      @@AndreasSpiess yes but not all

  • @e1Pr0f3ss0r
    @e1Pr0f3ss0r 5 років тому

    Can we use Arduino nano instead of Arduino mega

  • @dd0356
    @dd0356 5 років тому

    looks like 433mhz+mega only sends data to node-red and it is processed there? or processing is done by the mega itself?

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      The mega does the decoding. And the RPI does the storage and display.

    • @dd0356
      @dd0356 5 років тому

      there is some hope for the esp32 now. anyway, its summer now. trees have shed trees. i'm old too change jobs now. nothing much to do. i will experiment with the 433mhz next month.
      as my father says, i always find some good excuse to kill time :D

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Keep us posted!

  • @madrian_hello
    @madrian_hello 5 років тому

    Andreas, can you please fix the diagram on GitHub?

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Done. Thank you!

    • @madrian_hello
      @madrian_hello 5 років тому

      @@AndreasSpiess You are the best Andreas, thank you. It is my first DIY in the new year. :) Happy New Year.

  • @rkaid577
    @rkaid577 5 років тому

    Nice project and good explanation! But maybe you are re-inventing the wheel a little bit?
    Take a look at Home Assistant (www.home-assistant.io) and/or openMQTTgateway: github.com/1technophile/OpenMQTTGateway
    Open source and extremely powerful and flexible! HA can also store data in influxDB. And you can use NodeRED with HA.
    Could be worth looking into, unless you insist on doing everything your own way :)

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      I did not know about openMQTTgateway. And my viewers know that I love to stand on others shoulders to reach the best fruits ;-) So, thank you!

  • @notofinterest
    @notofinterest 5 років тому

    Couple things r wrong here...
    1.) weatherstations never ever show the right accurate measurements cause the build in the cheapest sensors in the worst qualityclass even in expensive devices.
    2.) all those sensors r batterydriven and batteries give up the ghost when enviroment temps get low. You never would find out the -17C we had last winter, cause sensor f* up @ little lower as -5
    3.) 433MHz sucks, espacially on those cheapos. Slightly sends trough one wall, but have 4 of them in a row. Only working on/in wild west cardboard boxes they call em a house. Not useable for real houses.
    4.) windspeed, winddirection and rainvolumesensors r reed, and they bounce a lot whos filtered out analog. So i mount 2 hall sensors and doubled the resolution of the windspeed sensor. Still looking for a rotaryencoder who can measure winddirection on at least 1 degree solution. Or buy a ultrasonic one...?
    Therefor build my own, i‘ve showed u andreas. Only downside: can‘t sniff neighbors sensors, alarmsystem and remotes.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      In General: I usually get what I pay for. I paid 50 dollars. So my expectations are not very high. Professional weather stations seem to be available but much more expensive.1. The data are good enough for me. And if not, I will change the temp sensor to one from Bosch.
      2. Everything which is below -5 C is cold for me ;-) So I have to add a line in node-red: If no signal then -6 C. But I will have a look at it this winter. Anyway, an interesting topic which could be worth a video.
      3. My gateway was one floor below and the original display of the weather station 2 floors below the weather station. Both work. And we are not known to build cardboard boxes around here. Maybe you saw the video with our atomic shelter ;-) So the receivers are better than I expected with these short antennas.
      4. The wind direction changes quite a lot and therefore cannot be measured accurately with this device. I do not know if averaging would help. For me anyway, only two directions are important: If the wind comes from the east it is cold and if it comes from the west it is better.
      5. Ultrasonic wind sensors are very interesting. I never built one. I have wind sensors which work with a thin wire (similar to the ones used in cars (Luftmengenmesser). But I never tried them because I never finished my wind channel.

    • @efimovv
      @efimovv 5 років тому

      Have addition about minus temps. Not sure about sensors in my Chinese weather station, but accurate results depend very much on where WS located. My own ~$150 WS show me -28 this winter. The only thing I found, what humidity sensor show 100% all the winter, because it freeze. It have solar panel, super-capacitors and lithium batteries - they suggested by manufacturer as working good during winter.

  • @DM-qm5sc
    @DM-qm5sc 5 років тому

    PogChamp

  • @vzorglub1
    @vzorglub1 5 років тому

    Hello Andreas. I enjoyed this videos (As I do your others ones)
    I built something like that myself a long time ago.
    Now regarding the node-red section. I just want to make you aware that there is an RFLink node available:
    flows.nodered.org/node/node-red-contrib-rflink

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Thank you for the link. I assume it uses Serial connection. I decided not to go this way, so I had to use the MQTT node.

    • @vzorglub1
      @vzorglub1 5 років тому

      @@AndreasSpiess No actually, it takes an rflink string as input. Very easy to use.

  • @troyboy1554
    @troyboy1554 5 років тому

    Hi. Can you please also upload .stl files for the housing. TNX

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      I put a ling to Thingiverse into the description

  • @jensbovbjerg9284
    @jensbovbjerg9284 5 років тому

    Nice guide, but why not mount an esp8266 directly int the outdoor meter parallel with the existing hardware. All sensors are digital and can be found here: www.sparkfun.com/datasheets/Sensors/Weather/Weather%20Sensor%20Assembly..pdf

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Maybe I will do it once if I add a few more sensors (Illumination, UV, lightning)

  • @christianfink3295
    @christianfink3295 5 років тому

    RF-Link fork for ESP8266 and ESP32: github.com/Stef-aap/RFLink-ESP

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Thank you for the link. Very interesting!

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Just checked the link. It only supports 3 protocols. No weather station AFAIK :-(

  • @t1mmy13
    @t1mmy13 5 років тому

    I live in the city, I should be able to receive at least one weather station....

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      That's what I think, too. I do not live directly in a city and received a few.

  • @clatobalala5235
    @clatobalala5235 5 років тому

    Dear Andreas
    ,
    Thank you for sharing your work with other electronics enthusiasts..
    On your diagram (github.com/SensorsIot/RFLink-MQTT-Gateway Diagram.JPG) it is indicated the pin numbers for the connection to transmitter and receiver RF Modules on the arduino Mega 2560 PRO MINI running RFLink gateway. This is clear.
    But in that same diagram there are no indications about the pin numbers for the connection for the serial channel of the arduino through which the operation of the gateway is made. I estimate that in your work you use pins D0 (RX) and D1 (TX). My doubt is presented in the possible collision (at least in the transmission) with the USB to serial converter (CH340) of the arduino Mega. Is that the channel and the pins used by you?
    I do not know if there is any possibility on RFLink that the communication channel with the arduino Mega is done using another different serial channel that is free of collisions.
    Thank you very much for your attention.
    Alfonso

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Maybe you look at the docu of RF-Link and you should find the same pins.

  • @WojciechFrancuzik
    @WojciechFrancuzik 5 років тому

    Dear Andreas, please see this project it uses rflink with esp8266 or esp32. Ist a lot more advanced and a lot easier to what you show here. github.com/1technophile/OpenMQTTGateway/wiki

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Thanks for the link. I will look at it.

  • @andrewbeasley
    @andrewbeasley 5 років тому

    How do I explain to my wife I’m looking at naked things and porn?
    Great video, thanks for sharing.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      :-)) Just show her the video and she will be happy. Not because she likes the content...
      You are welcome!

  • @eziosoft
    @eziosoft 5 років тому

    RFlink for esp actually exists: github.com/Stef-aap/RFLink-ESP

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      When I looked at it only a few protocols existed. This is the big advantage of the RF-Link project.

    • @eziosoft
      @eziosoft 5 років тому

      @@AndreasSpiess yes you are right.

  • @Jerry47114
    @Jerry47114 5 років тому

    Btw. I prefer to use weeWX ( weewx.com ) to collect and display my weather data. It has a MQTT driver and i'm running it on a Raspi with the Niculskin ( github.com/ngulden/niculskin ). Additionally to the local Web UI, it pushes my weather data to remote services like WeatherCloud and Wunderground.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Thank you for the links. I will look into it when I have time.

  • @piconano
    @piconano 5 років тому

    Hi Andreas,
    Thanks for the referral on advanced Node-red concepts with Csongor YT channel? I sub'd to his channel.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      I am not sure if I understand. You find the links as always in the video description.

    • @piconano
      @piconano 5 років тому

      @@AndreasSpiess I was just thanking you.

    • @piconano
      @piconano 5 років тому

      Question mark was obviously a typo.

  • @nodustechnologies3989
    @nodustechnologies3989 5 років тому

    i used an R1 D2 mini clone with a similar 433mHz module and this rf library to build a similar gateway. works like a charm!
    github.com/sui77/rc-switch
    ended up collecting all strings under one MQTT channel and doing evaluation on the pi via python which then notifies mosquitto about changes and saves to the db.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Does rc-switch also receive data of weather stations and sensors or only fixed codes from switches?

    • @nodustechnologies3989
      @nodustechnologies3989 5 років тому

      @@AndreasSpiess currently fixed code from switches that accumulated over time and custom strings (which mostly resemble mqtt channels and status) from arduino nano's which i fitted with the 433 transmitters to serve a purpose (sweep sensors converted to light switches, like in the public bathroom of our office). waiting on my weather station to find out more but it deals well with what i threw at it when testing the transmitter. You have to translate your message into [binary/tri-state,/decimal/ integer] to send them (i choose binary to send strings but i might change that with a translation matrix at a later point. i kept my strings sort of short to keep transmission times between 250 & 1000ms.). And best to send them multiple times so the receiver can compare incoming messages and choose the one with an occurance of over 50% which is probably the right message. The D1 mini forwards all 433mHz messages & i have all of that currently arriving at mqtt channel "/building_001/433/" and pick it apart on a pi with python.
      Not said that it will stay that way but one's gotta start somewhere. Eagerly awaiting shipments of anything 433mHz i could find - if i run into trouble i'll let you know.
      Btw, i have that all combined with OpenHAB and was wondering why i never heard that in your vijeos, but if you start Influx & Grafana now you're not far of. I just figured that i wanted persistence throughout the system to also get profiles of power usage and the likes.
      P.S.: my guess is you'd receive something with the arduino library - just begs the question how it will look like. in the worst case the proprietary software you found has a non-public translation matrix. but even that could be reverse enginerded given enough spite for the company.
      P.S.S.: another comment mentioned this lib github.com/1technophile/OpenMQTTGateway which look interesting.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Receiving numbers is a completely different game than only codes. Because you also have to understand the coding. And sometimes they send the content twice, once in reverse. For a code, this looks like a longer code. For numbers, it is very hard to find out. And a weather station does not only send one value, but they send many measurements in series, usually in the same packet. So you have to understand which belongs to which value...

    • @nodustechnologies3989
      @nodustechnologies3989 5 років тому

      @@AndreasSpiess if the protocol is out there i'm quite confident that it will become known or reverse engineered :-)