Hi all :)

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
hawkn
New user
Posts: 7
Joined: 07 Jan 2021, 20:58

Hi all :)

#1 Post by hawkn » 07 Jan 2021, 21:06

40 year old computer engineer here from Norway.
Just started doing automagic stuff in my home, looking forward continuing this exciting stuff :)
Been working with Raspberry Pi-s for some years now, 3D printers (builds) and other whatever controlled stuff.

These days I'm looking into ESP-s, OpenHAB and MQTT.

Also looking at LoRa, though no hardware in-house at this point.


Btw. Happy New Year to all.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Hi all :)

#2 Post by TD-er » 07 Jan 2021, 21:36

Well we've got you covered on those topics here, so be welcome :)

hawkn
New user
Posts: 7
Joined: 07 Jan 2021, 20:58

Re: Hi all :)

#3 Post by hawkn » 10 Jan 2021, 18:11

TD-er wrote: 07 Jan 2021, 21:36 Well we've got you covered on those topics here, so be welcome :)
Awsome :)
For now I've been downloading several bin files, done some testing with functions on mainly ESP01S relays for light bulbs and such.
How ever, what I cannot find is something that makes my ESP32Cam work properly, I have the m5stack esp32cam, was able to flash it so I can connect it to my wifi and not being forced to use it as a AP.
Other than that I'm still missing alot of stuff I ordered 2 months ago :lol:

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Hi all :)

#4 Post by Ath » 10 Jan 2021, 19:08

Currently, ESPEasy doesn't have support for cameras, they require a lot of code, and it seems dedicated projects targetting that are the best solution.
/Ton (PayPal.me)

hawkn
New user
Posts: 7
Joined: 07 Jan 2021, 20:58

Re: Hi all :)

#5 Post by hawkn » 10 Jan 2021, 19:32

Oh...oh well, only got one cam :P
But perhaps I can ask another thing.
I read that it is possible to program the tx and rx on ESP8266 so I can use them as GPIO ports to control stuff, but I cant find that post again.

So is that possible without any other issues?
I have several ESP relays with one relay, and to be honest, gonna replace the 8050 series micro controller on the boards with a a 2N2222A transistor, less problems with the control of the relay and more stable when testing it.
Also I want to be able to do some custom stuff on these, thats why I ask if it is possible :)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Hi all :)

#6 Post by TD-er » 10 Jan 2021, 20:34

We do have the serial gateway and Serial proxy.

The last one is still very experimental and essentially does read an ASCII line from serial (until newline) and sends it to a configured MQTT controller.
You can also use a command of that plugin to send an ASCII line to the serial port.

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Hi all :)

#7 Post by Ath » 10 Jan 2021, 20:50

hawkn wrote: 10 Jan 2021, 19:32 But perhaps I can ask another thing.
I read that it is possible to program the tx and rx on ESP8266 so I can use them as GPIO ports to control stuff, but I cant find that post again.
You can use these 2 GPIO's as normal ports once you disable the Serial log (uncheck "Enable Serial port" on Tools/Advanced page), but take care on what you connect, as the tx port will send out some debug data for a short time after boot.
/Ton (PayPal.me)

hawkn
New user
Posts: 7
Joined: 07 Jan 2021, 20:58

Re: Hi all :)

#8 Post by hawkn » 11 Jan 2021, 16:40

TD-er wrote: 10 Jan 2021, 20:34 We do have the serial gateway and Serial proxy.

The last one is still very experimental and essentially does read an ASCII line from serial (until newline) and sends it to a configured MQTT controller.
You can also use a command of that plugin to send an ASCII line to the serial port.
How cool is that :D
With that, can I use the ESP as a serial logging device of a serial device in a remote location ?
Ath wrote: 10 Jan 2021, 20:50
You can use these 2 GPIO's as normal ports once you disable the Serial log (uncheck "Enable Serial port" on Tools/Advanced page), but take care on what you connect, as the tx port will send out some debug data for a short time after boot.
Thats just sweet :D
Had to try it out and what do you know, the obvious but hidden solution works :P
Gonna try controlling two relays this way, with help of 1N4007 and 2N2222A components, like I do on GPIO0 and 2.


Also, today I started getting stuff in my mailbox, got my ESP32Wroom-32D's (devkit v4) and ESP32 38PIN's units.

I have planned to add these as well to my MQTT system and hab setup :)
Still missing my sensors and stuff...

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Hi all :)

#9 Post by Ath » 11 Jan 2021, 16:55

hawkn wrote: 11 Jan 2021, 16:40 Also, today I started getting stuff in my mailbox, got my ESP32Wroom-32D's (devkit v4) and ESP32 38PIN's units.
Ah, there you won't quickly run into a lack of GPIO pins ;)

About ESP01S, I'm using them for smaller projects, one with a dual (probably triple in the future) temperature sensor using 1-wire DS18B20 sensors (you can connect several to a single GPIO port) and a door-contact, mounted in the bike-shed, where it monitors the internal temperature of the fridge and freezer we placed there (and in the future also the outside temp), and sends that to Domoticz using MQTT (via Mosquitto). The door-contact signals several other ESP's (mostly Sonoff S20's) that flash a LED and/or sound a buzzer when the door is open. And another ESP01S is reading the data from my smart meter, reporting electrical usage and solar production, etc. and also sends that to Domoticz (but I'll have to fix that one as I broke it :oops:). That's working all just fine, and all with these small ESP8266's 8-)
/Ton (PayPal.me)

hawkn
New user
Posts: 7
Joined: 07 Jan 2021, 20:58

Re: Hi all :)

#10 Post by hawkn » 18 Jan 2021, 15:02

OK, I gotta ask, I have searched the forums now and found links 3 places for BIN files for ESP32, but all have broken links.
Does anyone have a firmware BIN file for a ESP32 ?

Regards

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Hi all :)

#11 Post by TD-er » 18 Jan 2021, 15:04


hawkn
New user
Posts: 7
Joined: 07 Jan 2021, 20:58

Re: Hi all :)

#12 Post by hawkn » 18 Jan 2021, 15:27

Ok, so there are no BIN files available for download/testing like for the ESP8266 ?
I have to compile it myself ?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Hi all :)

#13 Post by TD-er » 18 Jan 2021, 16:00

hawkn wrote: 18 Jan 2021, 15:27 Ok, so there are no BIN files available for download/testing like for the ESP8266 ?
I have to compile it myself ?
Have you checked the link I gave?
Under "Assets" you have links like these:
https://github.com/letscontrolit/ESPEas ... 210114.zip
In that ZIP file, in the bin directory are compiled bin files.

As described in the included README file, there are 2 types of bin files.
With and without "factory" in the file name.
The "factory" ones you flash via the serial port and the ones without "factory" in the name you must use to flash via the web interface from a node running some build of ESPEasy.

hawkn
New user
Posts: 7
Joined: 07 Jan 2021, 20:58

Re: Hi all :)

#14 Post by hawkn » 18 Jan 2021, 16:04

aaahhhhhh.... found it :D tnx :D

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests