#242

  Рет қаралды 109,025

Andreas Spiess

Andreas Spiess

5 жыл бұрын

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/SensorsIot/RFLink-...
433MHz receiver: s.click.aliexpress.com/e/bN4Ogia8
433MHz Antennas: s.click.aliexpress.com/e/c8lNcR9O
Small Arduino Mega clone: s.click.aliexpress.com/e/cLtOMZSo
ESP-01: s.click.aliexpress.com/e/bRnhuh5e
Wire Stripper: s.click.aliexpress.com/e/b3z1SM1a
Crimping tool: amzn.to/2S7mwGH
Empty Shells: bit.ly/2DIsOKs
Weather station (newer model, not tested): s.click.aliexpress.com/e/cBZcICv2
Door/window sensor: s.click.aliexpress.com/e/r7zocKU
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/sensorsiot
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
profile.php?...
/ spiessa
www.instructables.com/member/...
Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my primary job

Пікірлер: 345
@avejst
@avejst 5 жыл бұрын
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 ;-)
@cpfs50
@cpfs50 5 жыл бұрын
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 жыл бұрын
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.
@BillyNoodles
@BillyNoodles Жыл бұрын
condensing all the challenging work of finding the best solution into a very clear and concise flow.. Thankyou!
@AndreasSpiess
@AndreasSpiess Жыл бұрын
You are welcome!
@marioroberts9564
@marioroberts9564 5 жыл бұрын
Love the way you have simplified this 👍🏾
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Thank you!
@abhijitborah
@abhijitborah 5 жыл бұрын
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.
@csongorvarga
@csongorvarga 5 жыл бұрын
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 жыл бұрын
Great you got some subscribers. You deserve it! Another Hungarian viewer wrote that it is pronounced like „church“.
@pbolduc
@pbolduc 5 жыл бұрын
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 жыл бұрын
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.
@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 :-)
@adtwomey
@adtwomey 5 жыл бұрын
nice you got a link to your weather station, another good video buddy
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Thank you!
@timmydeee
@timmydeee 5 жыл бұрын
congrats on the hundy mate, well deserved indeed!!!
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Thank you!
@gte24v
@gte24v 5 жыл бұрын
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
@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 :-)
@ThiefKingBakuraX
@ThiefKingBakuraX 5 жыл бұрын
Congrats on 100k!!
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Thank you!
@lukaszpodgorski
@lukaszpodgorski 5 жыл бұрын
Great Job Andreas :) I love your videos 👍👍👍👍
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Thank you!
@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...
3 жыл бұрын
Amazing dude. Thank you. I love making things tooo
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
Glad you enjoy it!
@babakhallajian684
@babakhallajian684 5 жыл бұрын
Hi Andreas, would you please make a program about FPGA and how connected some modules to FPGA modules preferably DE-Nano board. Thanks
@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 ;-)
@electronic7979
@electronic7979 5 жыл бұрын
Nice project
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Thank you!
@HunTomiBp
@HunTomiBp 3 жыл бұрын
Thanks for video! Tamás, from Stockholm
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
:-)
@sargetester99
@sargetester99 5 жыл бұрын
Grafana sounds interesting. I hope you will make video about using it for projects
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Planned since a long time ;-)
@meinsda5983
@meinsda5983 5 жыл бұрын
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!
@viniciusnoyoutube
@viniciusnoyoutube 5 жыл бұрын
Great video.
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Thank you!
@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 жыл бұрын
My (commercial) weather station runs about a year on two AAA batteries.
@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.
@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.
@danbendavid-ipad2236
@danbendavid-ipad2236 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.
@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?
@chuxxsss
@chuxxsss 5 жыл бұрын
Did you see that 2580 Mega on my project? Have 3 now of them. Was using Ethernet, but it is having problems with server in NZ. Think of going Esp01 to talk to shed network. I see you are still using Node-red. What a live saver it is mine is offline right now. But may put it out for my shed too. Have a wonderful week Andreas. From Aussie land. By the way it snow here this week. In summer of all time very strange. Csonger really does some great work with his note red stuff. Remember asking him about something once I think. You can watch the Sonoff bridge on my channel too mate.
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Yes, I say it. Concerning Espurna and Sonoff bridge: I think it would not transfer sensor data of my weather station?
@chuxxsss
@chuxxsss 5 жыл бұрын
@@AndreasSpiess Not sure, if it would or wouldn't.
@haajee1
@haajee1 5 жыл бұрын
@@chuxxsss sadly, i have here also a Sonoff RF bridge with espurna and works only with a few devices... :(
@indramal
@indramal 5 жыл бұрын
Thank you very much.
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
You are welcome!
@robertjaeger129
@robertjaeger129 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@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 3 жыл бұрын
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.
@bspringer
@bspringer 5 жыл бұрын
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
@zvpunry1971
@zvpunry1971 5 жыл бұрын
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. :)
@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.
@baseladams280
@baseladams280 3 жыл бұрын
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 3 жыл бұрын
You have to search for openVPN, for example. I recently mad a video (IOTstack) where I showed it
@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.
@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.
@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.
@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 ;-)
@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!
@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.
@BoredInNW6
@BoredInNW6 Жыл бұрын
I think that may depend on regional differences in regulation. I have some Bresser kit which uses 433 MHz.
@kitelander
@kitelander Жыл бұрын
How long does the battery in the station last and is the station still working after this time?
@AndreasSpiess
@AndreasSpiess Жыл бұрын
The battery lasted for about a year. But I had to replace the device after about 4 years of operation.
@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.
@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/ ]
@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
@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 :-(
@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 жыл бұрын
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
@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.
@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.
@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 жыл бұрын
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.
@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
@SarahKchannel
@SarahKchannel 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@AndreasSpiess I cant stand Python, C++ or JavaScript is good, I am quit happy to ignore Python wherever possible :)
@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
@SmithyScotland
@SmithyScotland 5 жыл бұрын
Use a Sonoff RF Bridge 433, flash with tasmota, total cost about $20.
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Did you do it? It seems to have two different processors which have to be flashed.
@FlorianRB
@FlorianRB 5 жыл бұрын
This solution will not cover all the protocols supported by RFLink
@insti123
@insti123 5 жыл бұрын
@@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 жыл бұрын
Interesting comment, thanks. Might be worth getting one of the SonoffRe devices that has the receiver populated.
@JonathanWellskcender
@JonathanWellskcender 5 жыл бұрын
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.
@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.
@asimabusallam3147
@asimabusallam3147 3 жыл бұрын
thanks
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
You are welcome!
@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.
@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
@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 жыл бұрын
Ich darf kurz unterstützen: kzbin.info/www/bejne/gmHJhHiYfKqMY7M
@darvin1982
@darvin1982 5 жыл бұрын
@@martinsauerteig4882 Danke👍
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
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.
@electron-1979
@electron-1979 5 жыл бұрын
Cool!
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
:-)
@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
@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 жыл бұрын
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?
@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...
@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 жыл бұрын
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 жыл бұрын
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
@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!
@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!
@davidfont2596
@davidfont2596 3 жыл бұрын
I thumbs upped this video after @0:28 LoL!
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
Thank you!
@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.
@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 жыл бұрын
Thanks for the link. Would have been a good fit. But I did not know it exists :-(
@matthewblackstone7347
@matthewblackstone7347 5 жыл бұрын
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
@e1Pr0f3ss0r
@e1Pr0f3ss0r 4 жыл бұрын
Can we use Arduino nano instead of Arduino mega
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
Unfortunately, no
@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 :)
@LeifNelandDk
@LeifNelandDk 5 жыл бұрын
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 жыл бұрын
I know his statement. Unfortunately it never made it to the data sheet...
@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 жыл бұрын
I have some high-performance IR diodes and want to use them. Maybe you will see a video in the future.
@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 жыл бұрын
The 315MHz could be solved with a different receiver. The protocol has to be tried out, most probably.
@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
@stefansweerts3825
@stefansweerts3825 5 жыл бұрын
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 жыл бұрын
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.
@SteveWrightNZ
@SteveWrightNZ 5 жыл бұрын
Also see RRDTool
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Thank you for the tip. This tool was mentioned a few times in the comments.
@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 жыл бұрын
I think I mentioned that. But according to the datasheet they are not 5volt tolerant
@mihumono
@mihumono 5 жыл бұрын
@@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 жыл бұрын
I know these posts. But I do not know why they never adapted the data sheet.
@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.
@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 :-(
@svenpetersen1965
@svenpetersen1965 5 жыл бұрын
Das Gehäuse bring das Produkt dem Kunden näher :-)))
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Genau. Nacktheit scheint's auch ;-)
@MrZhefish
@MrZhefish 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@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 2 жыл бұрын
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.
@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.
@DM-qm5sc
@DM-qm5sc 5 жыл бұрын
PogChamp
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
:-)
@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
@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 жыл бұрын
:-)) Just show her the video and she will be happy. Not because she likes the content... You are welcome!
@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.
@stromcontainer
@stromcontainer 4 жыл бұрын
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
@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.
@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.
@dma_k
@dma_k 4 жыл бұрын
Thanks for nice video. Is it possible to attach both 433 and 868 receivers in your setup? Have you checked this project (github.com/etimou/RFLink-ESP/tree/arduino)?
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
I do not remember if it was exactly that. Most of those project support only very few sensors, and usually none which transfer values (transferring state on-off is much easier). You have to check if your sensor is supported.
@gilbert8238
@gilbert8238 3 жыл бұрын
Hi all, I am planning to re-build some of the things shown in the Videos of this (GREAT) channel. Did anybody try if the newer Version of the weather station is compatible to RFLink? This also ship as "just the sensor" for much less money (even from Germany) www.conrad.de/de/p/eurochron-ec-3802394-kombi-sensor-1901197.html Seems like a related version is supported by RFLink (WS WS3900) but on 868 Mhz I guess the sensor should be fine if you track the data in Grafana anyhow ... maybe the matichning of values could become complicated?!? One more question: Do these weather stations continously send values? Any feedback would be highly appreciated!
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
I cannot help here :-(
@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.
@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.
@tedyanggi9895
@tedyanggi9895 4 жыл бұрын
I need some help with building Receiver gateway for HP2000 Weather Station. I already use some RF library like Radiohead (www.airspayce.com/mikem/arduino/RadioHead/) or RCSwitch (github.com/sui77/rc-switch). Although I just use the example code provided by those library, still I cant get the data via Serial COM. I tried the Radiohead example to test the corresponding RF module to make sure it works, and the two transmitter and receiver work splendid, I can get the data displayed in Serial COM on my PC. Some reference said that I need a specific rate of transmitting speed to match with the weather station, and find it via reverse engineering (www.electroschematics.com/433mhz-rf-sniffer/) and build a radio sniffer to get the 433MHz data. This the product manual of my weather station : www.instruments.co.za/Downloads/HP2000%20User%20Manual%202017%20Onwards.pdf
@tedyanggi9895
@tedyanggi9895 4 жыл бұрын
I'm using some Chinese cheap pair of RF 433 Tx and Rx pair.
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
I made some other videos about hacking of 433 MHz devices and SDR
@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.
@jaakkolehto1487
@jaakkolehto1487 5 жыл бұрын
Make rain meter
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
This would be something for a mechanical channel. But maybe I take one apart that everybody can see how it works ;-)
@bollie9752
@bollie9752 5 жыл бұрын
Solutions for the mechanical part are available: www.thingiverse.com/thing:13383, but I also wrestle how to do the electronics...
@bollie9752
@bollie9752 5 жыл бұрын
@Jaakko Lehto, watch kzbin.info/www/bejne/oYHKc2ZsrbappZo
@indigonils
@indigonils 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!
#220 Wireless Communication for Arduino  (Part 2)
15:47
Andreas Spiess
Рет қаралды 32 М.
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 41 МЛН
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 64 МЛН
467 Radar Sensors from $3 to over $100: Which one is Best?
14:31
Andreas Spiess
Рет қаралды 162 М.
I built my own computer. by hand.
13:03
jdh
Рет қаралды 1,1 МЛН
Argent Weather Station Arduino Hacks - Hardware and Code
38:28
Modest Maker
Рет қаралды 70 М.
The Man Who Solved the World’s Hardest Math Problem
11:14
Newsthink
Рет қаралды 407 М.
LoRa & LoRaWAN Explained! TTN Gateway & Device Setup - Cicerone Board Demo
14:12
Learn Embedded Systems
Рет қаралды 12 М.
Remote power outlet home automation tutorial ESP8266
6:09
bitluni
Рет қаралды 396 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3 МЛН
MQTT Broker/Bridge on the ESP8266
17:28
Martin Ger
Рет қаралды 81 М.
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 2,9 МЛН
GamePad İle Bisiklet Yönetmek #shorts
0:26
Osman Kabadayı
Рет қаралды 524 М.