@Heizelmann
that’s great!! having some esp01 lying here waiting for some action
-
[ESPimatic]ESPimatic : ESP8266 modular sensor for Pimatic [v0.1.26]
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@Heizelmann said:
Great
Got my first sensor running with this sketch on an ESP8266-01 with 512k(128k SPIFF) and a DS18B20 on GPIO 2. Flash space in use 87%. Loaded HTML files: ds17b20, filemanager,gpio, pimatic, root, wifi.Cool!
You could remove filemanager.html and do the uploads with the buildin URL http://esp/fupload downside : you can’t delete files so you would have to reformat everytime with /format when you want to delete a file.Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
@koffienl Good to know, thanks! When I run out of flash space during upload the process seems to hang without warning and I need to reformat with http://esp/format
-
what´s the reason for the limitation of only one DS18B20?
i would like to use more than one…also im interested in a “button” device…
-
@demlak said:
what´s the reason for the limitation of only one DS18B20?
i would like to use more than one…also im interested in a “button” device…
There was no need for more than one in my initial project :D
What button device are you looking for ?Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
something like i press a button… and the esp sends signal to pimatic…
also usable for example as a window sensor… like a magnetic reedsensor… -
Perhaps I can some support for that in future version
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
btw… thanks a very very lot for espimatic!
your idea was running through my mind since the first time i heard of the esp modules… never had enough time to work on it… and also not enough coding skills…Just an Idea… i think, this will get the most used mod/addon for pimatic in future… what about an extra section in the forum?
seperated areas for questions, feature requests and how-tos of espimatic.
i wanna contribute whatever im able to…
-
I think this calls for an dedicated Pimatic plugin to avoid the Shell switches and so on.
pimatic rocks!!!
-
Hi, first of all i want to thank you for the great work.
It would be nice if you could ad a battery option. I mean that you could set you are running the esp module in battery mode with deep sleep for x minutes.
Also a battery monitor would be great.
-
well… i made some thoughts about ESPimatic…
hopefully this post will not burn any brainsESPimatic Feature Request/Ideas:
- deep sleep function
- multiple DS18?20 Sensors
- Relay/Button input (low/high pin detection)
- encrypted communication with pimatic
- Setup possibility to do Initial WiFi Config in .ino file before flashing
- WebGUI:
- Secured WebGUI (login/pass)
- should not display functions/features/devices that are not installed (for example: no dht.html = no dht menu or dashbord entry)
- 100% Complete offline Version (no external .js/.css) (maybe we find a solution that is not slowing everything extremely down )
- Dashboard / Root
- separated area for disabled functions/features/devices
- functions/features/devices-texts as buttons linking to coresponding menu entry
- Button/Function in WebGUI for checking of new ESPimatic Version on github… + Button to download and install
- Display file-version of each file, when opened… and/or summarize on dashboard… for example a little “v 0.1.23” in the corner of http://esp-ip/ds18b20.html
and maybe an information if there is a new version available
* Refresh-Button should ignore interval-settings of all functions/features/devices… it should refresh everything on demand
* Autoreload every X-Seconds
* Supportbutton (linking to this Forum and/or github)
* possibility to give each ESPimatic an own name… so that it is also identified via name on dashboard… not only by IP…- StaticIP/GW/DNS
- RC522 RFID-Scanner
- Read Analog Signals on ADC-Pin
- RGB LED-Strip device (3 PWM outputs)
After Reboot of ESPimatic, state of Relay (for example) could differ from State in Pimatic(pimatic does update on given interval)
ESPimatic problems:
- WebGUI glyphicon are not lined in FF (IE Works)
- relay api still replys “ok” to pimatic on button-switch, when relay is disabled… so pimatic thinks, command is successfully send… and relay switched.
- changing status of relay on ESPimatic does not change status in pimatic…
for example: by opening manualy http://espIP/api?action=relay1&value=on in browser… pimatic does not get the new status… - at pimatic boot i get an error like this:
error [pimatic]: Could not get attribute value of name.state: ShellSwitch: unknown state="OK"!
AP mode is not disabled after starting client mode
ESPimatic HowTos:
- Collection of Circuit-examples to all featured Sensors/Relay/etc…
- HowTo embed ESPimatic Sensors/Relay/etc. in Pimatic (Devices + Variables) incl. units/icons/etc.
ESPimatic questions:
- Whatabout using a dozent ESPimatic devices on one Pimatic? Does the Pimatic API get Problems when there are several ESPimatic modules try to communicate with Pimatic at the same time?
-
@koffienl said:
What are you planning to do with the ESP?
first i want to use a esp-01 for sending ir-signals to my tv, radio and background LED-stripes at my livingroom via pimatic… did your ir-blaster send raw or hexsignals? i’ve connected the IRled with a 100 ohm resistor on gpio2, but it seems to stay “dark” while sending (Led-Stripe-)codes like…
http://esp-ip/api?action=ir&value=F7C03F
or
http://esp-ip/api?action=ir&value=8850,4450,550,600,550,500,600,550,550,600,500,650,500,500,600,550,550,550,600,1650,550,1650,550,1650,600,1650,550,550,600,1650,550,1650,550,1700,550,550,550,1650,600,600,450,600,550,550,600,550,500,600,550,550,550,1700,550,500,600,1700,500,1650,600,1650,600,1650,550,1650,550,1650,600
also without resistor…
maybe someone could give me a hint how to connect my IR-Led to get bright
this is only one of a few ideas wich i could now realize with your ESPimatic, i will also say thank you for your awesome work
to “play around” with uploading the *.html files, set the configs and delete after them works fine as the flashspace does not overflow during upload…
Ideas what you could implement in the future:
- DeepSleep-mode for Energysafe
- StaticIP/GW/DNS
- Input Button/Switch
- BMP085 Pressure Sensor
- HC-SR04 Distance Sensor
- LCD or LED-Display via I2C
- Recieve IR-Signals (TSOP4838)
- RC522 RFID-Scanner
- HC-SR501 PIR-Module
- Read Analog Signals on ADC-Pin
now i´m going to sleep and waiting for ESP-12E…
-
Reading out analog pins would be great. Also a direct trigger option when a certain threshold is reached for attached actors on a gpio (just like a simple internal rule system for sensors).
so you could build a wireless smoke/gas detector with an mq detector attached and maybe trigger a relais for some action (siren) etc. always wanted to have a diy all in one rf smoke, gas and flame detectorpimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
found some unwanted behaviours…
-
disabled relay still sends status “ok” on switching… so pimatic thinks everything is working… but relay plugin is not enabled in ESPimatic…
-
changing status of relay on ESPimatic does not change status in pimatic…
for example: opening manualy http://espIP/api?action=relay1&value=on in browser… pimatic does not get the new status… -
at pimatic boot i get an error like this:
error [pimatic]: Could not get attribute value of name.state: ShellSwitch: unknown state="OK"!
- I also tried another esp 12e module… wifi login was not default on this module… so i had to connect via wifi to ESPimatic AP like discribed in your readme… BUT… after inserting wifi details… uploading files… the ESPimatic is logged into my wifi… BUT there is still an AP called ESPimatic… so client and AP mode at same time?
(added these issues to my list above)
-
-
Wow … thanks for all the info an requests, great!
First of all : I’m absolutely not a programmer or coder, some stuff might be out of my scope. Also memory could be an issue, I tried add wifisecrure lib and worked fine … until I tried to make a HTTPS request and it made the ESP crashed. Turned out there was no free memory anymore.
I noticed that the SoftAP does not go away, seems smoething new since the last 2 days. Have not found how this happens, will take a look on it.
@xCite86 you need to send raw signals like this: 7672,2836,584,1360,588,1356,584,2760,584,2752,584,2752,584,2760,584,1360,584,2760,584,2760,576,1364,584,1360,584,1364,584,1360,584,1360
DeepSleep is on my future list (at least there is allread a ‘EnableDeepsleep’ option reserved in the EEPROM list
I will take a closer look on all the reuqests and bugs and reply into them later today.
"Whatabout using a dozent ESPimatic devices on one Pimatic? Does the Pimatic API get Problems when there are several ESPimatic modules try to communicate with Pimatic at the same time?"
I think Pimatic can handle multiple requests without any problem and communicating over HTTP is light and fast.
ESPimatic sometimes take a little longer to respond on HTTP when you do a request on the same time it is sending to Pinatic. However, it still is fast enough to respond before the client says it timed out.Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
@koffienl said:
First of all : I’m absolutely not a programmer or coder, some stuff might be out of my scope.
for that you did an excellent job!
well, if you are running into problems, i guess there are some developers here to help you to improve it.ESPimatic could become a “swiss knife” for pimatic sensor communication
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
Nice work @koffienl, let me now hook up the esp8266 and actually use them! A bit off topic and maybe it already exists? Would it also be possible to use an ESP to control a (small) led strip via for example the Pimatic LED plugin?
-
sending RGB Values should be possible…
im currently working on a project to controll RGB LED stripes via ESP8266… but as mentioned in here, there is a Problem with low values ofanalogWrite()
@koffienl well… you say, you are not a coder… not a developer… but you did a great job of coding and developing…
since that you are coding and developing… you ARE a coder and developer
Well… maybe it´s a better idea to use infrastructure of github instead of getting a confusing thread in here?
There you can sort issues, get help, and so on… -
I can confirm the bug where the SoftAP keeps getting broadcasted in the local wifi area. Can’t figure out what’s wrong.
I did the following test and the results are astonishing- Grab brand new ESP from sealed package
- Flash ESPimatic over serial
- Boot up in SoftAP
- Connect to SoftAP and enter wifi credentials
- Reboot
- ESPimatic is available in my local wifi network
- ESPimatic is also available under SoftAP ‘ESPimatic’
- Change SoftAP SSID name in code
- Reflash with new SoftAP name in the code
- ESPimatic reads current wifi from EEPROM and connect to is
- ESPimatic is available as softAP under the old name
I think flabbergasted is the correct term to use
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
seems there are some problems with eeprom…
maybe a routine to wipe eeprom could help?btw… would be nice to see things speedup after turning softAP of
Also freeing memory…edit:
this also hints to the phenomenon some people have… with autologin into local wifi directly after flashing…
i think it would be best to clear complete flash-memory on initial flash?