Connecting a TM1637 4-Digit Display

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
38domo
Normal user
Posts: 12
Joined: 18 Feb 2017, 11:43

Re: Connecting a TM1637 4-Digit Display

#131 Post by 38domo » 12 Mar 2018, 19:18

hello, I have tested this week end : wemos D1 with display 4 digit with colon & dots.
It's works fine . thanks a lot for the development.
I can manage the brigthness using the web interface but how can we manage the brightness by command (http/mqtt or Rules)?
gerard

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Connecting a TM1637 4-Digit Display

#132 Post by papperone » 12 Mar 2018, 20:54

38domo wrote: 12 Mar 2018, 19:18 hello, I have tested this week end : wemos D1 with display 4 digit with colon & dots.
It's works fine . thanks a lot for the development.
I can manage the brigthness using the web interface but how can we manage the brightness by command (http/mqtt or Rules)?
gerard
Wiki si your friend --> https://www.letscontrolit.com/wiki/inde ... nt_display
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

38domo
Normal user
Posts: 12
Joined: 18 Feb 2017, 11:43

Re: Connecting a TM1637 4-Digit Display

#133 Post by 38domo » 13 Mar 2018, 19:08

hello,
Thanks a lot.
I have tested from http:
http://ip_esp/control?cmd=7don
http://ip_esp/control?cmd=7doff
http://ip_esp/control?cmd=7db,x
works fine.
I will try with mqtt this evening

38domo
Normal user
Posts: 12
Joined: 18 Feb 2017, 11:43

Re: Connecting a TM1637 4-Digit Display

#134 Post by 38domo » 14 Mar 2018, 19:29

hello,
to use with mqtt:
send to your mqtt broker
msg.topic = "sysname/cmd"
msg.payload = "7db,15"
it works fine

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Connecting a TM1637 4-Digit Display

#135 Post by papperone » 16 Mar 2018, 07:33

thanks a lot 38domo, can you please post a picture of your display to confim which one you tested?
Or maybe refer to the pictures I've postes fwe message before...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

38domo
Normal user
Posts: 12
Joined: 18 Feb 2017, 11:43

Re: Connecting a TM1637 4-Digit Display

#136 Post by 38domo » 16 Mar 2018, 18:45

hello,
it is the display with dots & semi colon
Attachments
IMG_20180316_183052-ConvertImage.jpg
IMG_20180316_183052-ConvertImage.jpg (185.02 KiB) Viewed 346593 times

warcz
New user
Posts: 2
Joined: 22 May 2018, 18:01

Re: Connecting a TM1637 4-Digit Display

#137 Post by warcz » 22 May 2018, 18:07

Is it possible to use multiple LED displays at once ESP ?

only one works :o(
Attachments
2018-05-22_1806.png
2018-05-22_1806.png (26.27 KiB) Viewed 346234 times
2018-05-22 18.00.30.jpg
2018-05-22 18.00.30.jpg (2.71 MiB) Viewed 346234 times

boolie
Normal user
Posts: 20
Joined: 23 May 2018, 21:35

Re: Connecting a TM1637 4-Digit Display

#138 Post by boolie » 23 May 2018, 21:45

Hi, Papperone,

I'd like to create a bit more flexibility in what the plugin can display on the 7-segment modules, to allow for some alpha characters (I want to be able to indicate an error condition and loss of wifi, that sort of thing... Err, dISc, Off, ...)

I was thinking of copying the plugin and making the changes in the playground, but then I found this thread and I see that you've had to do some "interesting" stuff to make the code work with the different versions of the TM1637, so I thought maybe it would be better to suggest the changes to you and see if you have the time to make them, rather than for me to break something!

What I'm thinking, is:
- 7db,n,n,n,n for binary data - each 'n' would be a decimal value 0-255 representing the binary bits sent for that digit of the display; this allows us to switch on any combination of segments;
- 7ds,"ABCD" for string data (e.g. hexadecimal or text)... the characters AbcdeFhIJLoPStuy should all be possible to create with 7 segments.

What do you think, is that something you could do, or is it better if I learn how to modify the plugin and try my skills?

Thanks!

Jeff
Various D1 & Sonoffs with ESPEasy, some Tasmota. Domoticz, Z-wave.
ESPEasy Patreon - keep up the good stuff, guys!

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Connecting a TM1637 4-Digit Display

#139 Post by papperone » 23 May 2018, 23:59

1) yes currently only one display is allowed, still need to spend some time to implement multiple displays...
2) definitely yes, it was somethign planned to add alphabetical chars but still not done; I'll fin dsome free time to implement this new features and will take your suggestion but I'm puzzled what is the application for the "binary" feature you asked, can you please elaborate more?
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

warcz
New user
Posts: 2
Joined: 22 May 2018, 18:01

Re: Connecting a TM1637 4-Digit Display

#140 Post by warcz » 24 May 2018, 11:46

I should have asked before I bought 4 pcs :o( Thank you for your info. Good luck with upgrading

boolie
Normal user
Posts: 20
Joined: 23 May 2018, 21:35

Re: Connecting a TM1637 4-Digit Display

#141 Post by boolie » 24 May 2018, 16:06

[
2) definitely yes, it was somethign planned to add alphabetical chars but still not done; I'll fin dsome free time to implement this new features and will take your suggestion but I'm puzzled what is the application for the "binary" feature you asked, can you please elaborate more?
]

The "binary" idea was to allow any arbitrary pattern that the user might want to display - maybe "=", three bars, two vertical bars, etc. The controller chip takes 8 bits of data per digit, so I was thinking that those could be encoded by the user/user code into a 1-byte number (0-255) and then 4 (6, 8) of those passed to the plug-in which would simply send on the bit patterns to the display chip.

That said, if we extended the alpha character set to include "=", "-" and "|" then I can't really think of any other patterns that one could make so the binary probably isn't going to add anything!
Various D1 & Sonoffs with ESPEasy, some Tasmota. Domoticz, Z-wave.
ESPEasy Patreon - keep up the good stuff, guys!

alex77k12
New user
Posts: 7
Joined: 10 Apr 2017, 19:13

Re: Connecting a TM1637 4-Digit Display

#142 Post by alex77k12 » 30 May 2018, 10:18

I was trying to apply MAX7219 along with the encoder, I wanted to display time, date, temperature, humidity in the room and temperature and external humidity, taking data from another module. I can use the rules to display rotating encoder temperature and humidity (without the letter) but I do not know the command to display time and date, if in the rules impose% syshour%, %sysmin% or %systime%, does not happen as clock set in device, what is the correct command?
Sorry for my english using translator
Congratulations again for the work done, I really like it

PS if I use the command 7dn,[Clock#Time] the system crashes and restarts

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Connecting a TM1637 4-Digit Display

#143 Post by papperone » 31 May 2018, 06:31

I did not plan in the plugin to be able to show date/time manually with a command rather than automatically...
I noted this as new future fature to implement in next release, thanks!
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Connecting a TM1637 4-Digit Display

#144 Post by papperone » 21 Jun 2018, 07:10

testing new functions as below; please let me know asap if anything missed so I can still add it before new plugin release:
- new command "7dst,<hh>,<mm>,<ss>" - "show time" in manual mode
- new command "7dsd,<dd>,<mm>,<yy>" - "show date" in manual mode (if <yy> <100 then 2000 is added, only valid for 8 digit displays)
- new command "7dtext,<text>" - "show text" in manual mode; supported chars --> 0-9, a-z, A-Z, space, "-", "_", "=", "^" (shows degree symbol), "/" (shows three horizontal lines)

still multiple devices are not working, this will require more time to fix it...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

alex77k12
New user
Posts: 7
Joined: 10 Apr 2017, 19:13

Re: Connecting a TM1637 4-Digit Display

#145 Post by alex77k12 » 22 Jun 2018, 18:02

For those using the 8-digit display could you put two values together, for example temperature and humidity? Thank you again for the work you are doing. Thanks to your work I'm creating a bedroom object rack.Only a question, as regards the text will it be possible to merge it in the same string of a value, such as humidity alongside an H?
Attachments
IMG_20180618_195759-2.JPG
IMG_20180618_195759-2.JPG (566.89 KiB) Viewed 345929 times

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Connecting a TM1637 4-Digit Display

#146 Post by papperone » 22 Jun 2018, 20:07

alex77k12 wrote: 22 Jun 2018, 18:02 For those using the 8-digit display could you put two values together, for example temperature and humidity? Thank you again for the work you are doing. Thanks to your work I'm creating a bedroom object rack.Only a question, as regards the text will it be possible to merge it in the same string of a value, such as humidity alongside an H?
With the free text command you can show whatever you want, you have all numbers, letters and special chars as per my post above...
I believe you just need to create a rule to update the display at your preferred interval and you shoudl be able to combine 2 values coming from other devices/sensors

PS: I think lot of people here can be interested in your project if you would like to share it :D
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

ronald
Normal user
Posts: 28
Joined: 05 Jun 2017, 14:15

Re: Connecting a TM1637 4-Digit Display

#147 Post by ronald » 23 Jun 2018, 20:05

papperone wrote: 22 Jun 2018, 20:07
alex77k12 wrote: 22 Jun 2018, 18:02 For those using the 8-digit display could you put two values together, for example temperature and humidity? Thank you again for the work you are doing. Thanks to your work I'm creating a bedroom object rack.Only a question, as regards the text will it be possible to merge it in the same string of a value, such as humidity alongside an H?
With the free text command you can show whatever you want, you have all numbers, letters and special chars as per my post above...
I believe you just need to create a rule to update the display at your preferred interval and you shoudl be able to combine 2 values coming from other devices/sensors

PS: I think lot of people here can be interested in your project if you would like to share it :D
I second that! Really interesting project...

miah
New user
Posts: 4
Joined: 26 Jun 2018, 13:24

Re: Connecting a TM1637 4-Digit Display

#148 Post by miah » 26 Jun 2018, 13:40

I have a Wemos D1 Mini running "ESP_Easy_mega-20180618_test_ESP8266_4096.bin" - very happy as it is working well, with a TM1637 4-Digit Display,
Could a new "Display Output:" mode be added so as the clock mode can chose between a 12hr Clock or the existing 24hr Clock ? blinking is good.

MIAH

alex77k12
New user
Posts: 7
Joined: 10 Apr 2017, 19:13

Re: Connecting a TM1637 4-Digit Display

#149 Post by alex77k12 » 27 Jun 2018, 20:50

give me some time that I try to organize the files and I share them in some way. If you are interested I am doing the project for printing the box with 3D printer, I can possibly also share that once finished

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Connecting a TM1637 4-Digit Display

#150 Post by papperone » 29 Jun 2018, 08:23

miah wrote: 26 Jun 2018, 13:40 I have a Wemos D1 Mini running "ESP_Easy_mega-20180618_test_ESP8266_4096.bin" - very happy as it is working well, with a TM1637 4-Digit Display,
Could a new "Display Output:" mode be added so as the clock mode can chose between a 12hr Clock or the existing 24hr Clock ? blinking is good.

MIAH
good point, I will add it and post PR later today but I need clarification how the 12h clock works (I'm 24h user :D)
- midnight or noon should show as 00:00 or 12:00?
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Connecting a TM1637 4-Digit Display

#151 Post by grovkillen » 29 Jun 2018, 09:52

ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Connecting a TM1637 4-Digit Display

#152 Post by papperone » 29 Jun 2018, 11:08

Thanks! will follow this page then :)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

miah
New user
Posts: 4
Joined: 26 Jun 2018, 13:24

Re: Connecting a TM1637 4-Digit Display

#153 Post by miah » 29 Jun 2018, 11:22

papperone wrote: 29 Jun 2018, 08:23
miah wrote: 26 Jun 2018, 13:40 I have a Wemos D1 Mini running "ESP_Easy_mega-20180618_test_ESP8266_4096.bin" - very happy as it is working well, with a TM1637 4-Digit Display,
Could a new "Display Output:" mode be added so as the clock mode can chose between a 12hr Clock or the existing 24hr Clock ? blinking is good.

MIAH
good point, I will add it and post PR later today but I need clarification how the 12h clock works (I'm 24h user :D)
- midnight or noon should show as 00:00 or 12:00?
Hi, i just checked out wiki https://en.wikipedia.org/wiki/12-hour_clock and midnight is 12:00 & Midday is 12:00

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Connecting a TM1637 4-Digit Display

#154 Post by grovkillen » 29 Jun 2018, 11:48

miah wrote: 29 Jun 2018, 11:22
papperone wrote: 29 Jun 2018, 08:23
miah wrote: 26 Jun 2018, 13:40 I have a Wemos D1 Mini running "ESP_Easy_mega-20180618_test_ESP8266_4096.bin" - very happy as it is working well, with a TM1637 4-Digit Display,
Could a new "Display Output:" mode be added so as the clock mode can chose between a 12hr Clock or the existing 24hr Clock ? blinking is good.

MIAH
good point, I will add it and post PR later today but I need clarification how the 12h clock works (I'm 24h user :D)
- midnight or noon should show as 00:00 or 12:00?
Hi, i just checked out wiki https://en.wikipedia.org/wiki/12-hour_clock and midnight is 12:00 & Midday is 12:00
Yes, only difference is that 00:00 marks START of day. Which is used to differ the times when showing buss, train, airplane departures etc
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Connecting a TM1637 4-Digit Display

#155 Post by papperone » 29 Jun 2018, 18:24

grovkillen wrote: 29 Jun 2018, 11:48
miah wrote: 29 Jun 2018, 11:22
papperone wrote: 29 Jun 2018, 08:23

good point, I will add it and post PR later today but I need clarification how the 12h clock works (I'm 24h user :D)
- midnight or noon should show as 00:00 or 12:00?
Hi, i just checked out wiki https://en.wikipedia.org/wiki/12-hour_clock and midnight is 12:00 & Midday is 12:00
Yes, only difference is that 00:00 marks START of day. Which is used to differ the times when showing buss, train, airplane departures etc
well according to Wiki you linked in 12h mode 00:00 will never be shown.... right?
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Connecting a TM1637 4-Digit Display

#156 Post by grovkillen » 29 Jun 2018, 19:26

Yep, I didn't write that right. But yes 12:00 am is midnight.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Connecting a TM1637 4-Digit Display

#157 Post by papperone » 01 Jul 2018, 15:31

I do apologize but I had no time to test my pluing in the last days as I'm finish to setup all for my vacation as I will leave tomorrow morning 5am...
I will continue to work on it on my return in 3 weeks so please be patient! :)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

alex77k12
New user
Posts: 7
Joined: 10 Apr 2017, 19:13

Re: Connecting a TM1637 4-Digit Display

#158 Post by alex77k12 » 01 Jul 2018, 20:42

Happy vacation papperone

boolie
Normal user
Posts: 20
Joined: 23 May 2018, 21:35

Re: Connecting a TM1637 4-Digit Display

#159 Post by boolie » 27 Jul 2018, 23:15

Which builds are the new commands available in, @papperone? I'm running 20180718-TEST; it doesn't recognise '7dtext' as valid... do I need to pick up a nightly dev build?
Various D1 & Sonoffs with ESPEasy, some Tasmota. Domoticz, Z-wave.
ESPEasy Patreon - keep up the good stuff, guys!

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Connecting a TM1637 4-Digit Display

#160 Post by papperone » 01 Aug 2018, 10:28

Sorry I just come back and I thought I explained I had no time to submit the new plugin as I prefer to run some more tests before releasing it.
Still it won't be supporting multiple display (I have to check what changes are needed to handle this last feature...)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

velja
Normal user
Posts: 31
Joined: 08 Feb 2017, 08:07

Re: Connecting a TM1637 4-Digit Display

#161 Post by velja » 01 Aug 2018, 11:24

What a pity! I wait with my two displays to monitor IN/OUT temperature!. I hope you make it soon!

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Connecting a TM1637 4-Digit Display

#162 Post by papperone » 12 Aug 2018, 10:28

sorry about delays but while I was finishing the testing some other user commited in GitHub a change request of my plugin with huge nuber of changes aiming to optimization...
long story short as I had already heavily changed the cosde to implement all new functions now I'm puzzled how to proceed :cry:
- I can choose to revert back to my version of the code, throwing out all optimization submited (no idea about what was done as the othe user change lots of the original code)
- I can start again all coding of new features on the actual version of the code but first I need to understand the changes, test if it's all working as it was wil all the supported hardware

No matter what way I will go it will take lots more unplanned time which I have not much recently due to job related tasks...
I do apologize but not all depending on me!
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

ronald
Normal user
Posts: 28
Joined: 05 Jun 2017, 14:15

Re: Connecting a TM1637 4-Digit Display

#163 Post by ronald » 12 Aug 2018, 11:49

Too bad, all this hassle. It works great the way it is now. Why did someone just change that much of your code?
In your place I should revert back to my original code. If the other user wants to change it, let him develop his own version.
Thank you for all the effort you put into it.

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

Re: Connecting a TM1637 4-Digit Display

#164 Post by TD-er » 12 Aug 2018, 12:41

@papperone, was it me that made changes?
I don't remember changing things to your plugin.
Maybe I can help explaining what has changed recently and to what purpose?

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Connecting a TM1637 4-Digit Display

#165 Post by papperone » 12 Aug 2018, 12:58

TD-er wrote: 12 Aug 2018, 12:41 @papperone, was it me that made changes?
I don't remember changing things to your plugin.
Maybe I can help explaining what has changed recently and to what purpose?
no TD-er, it was an user I've never heard of "GHolli" in --> https://github.com/letscontrolit/ESPEasy/pull/1631

what shoudl I do ? as I wrote the number of changes in the plucing are a lot and to go to all of them it will take me a while and I've already a local version of plugin with new features based on my old versione...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

ronald
Normal user
Posts: 28
Joined: 05 Jun 2017, 14:15

Re: Connecting a TM1637 4-Digit Display

#166 Post by ronald » 12 Aug 2018, 17:21

I say: continue with your local version. You started it and it worked great. Why wait for some unknown user that teared your code apart?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Connecting a TM1637 4-Digit Display

#167 Post by grovkillen » 12 Aug 2018, 20:17

papperone wrote: 12 Aug 2018, 12:58
TD-er wrote: 12 Aug 2018, 12:41 @papperone, was it me that made changes?
I don't remember changing things to your plugin.
Maybe I can help explaining what has changed recently and to what purpose?
no TD-er, it was an user I've never heard of "GHolli" in --> https://github.com/letscontrolit/ESPEasy/pull/1631

what shoudl I do ? as I wrote the number of changes in the plucing are a lot and to go to all of them it will take me a while and I've already a local version of plugin with new features based on my old versione...
Still, it's only a PR, not merged. So if your update of the code is working good we'll just reject that PR and merge your change. Good job :)
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

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

Re: Connecting a TM1637 4-Digit Display

#168 Post by TD-er » 12 Aug 2018, 21:42

Indeed, it is not merged, so we can continue with your code and maybe later apply the mentioned optimizations when still applicable.

(placing char arrays or strings in flash is always a nice to have optimization)

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Connecting a TM1637 4-Digit Display

#169 Post by papperone » 13 Aug 2018, 00:33

ok , understood!

I'll try to complete testing asap and make my PR :)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

mrshark
New user
Posts: 7
Joined: 29 Aug 2016, 15:03

Re: Connecting a TM1637 4-Digit Display

#170 Post by mrshark » 14 Aug 2018, 14:14

hi
1st: thanks for your work :)

2nd: i've some of the "dots+colon" tm1637 modules, and using ESP_Easy_mega-20180809_dev_ESP8266_4096.bin on a nodemcu model, 1st gpio D3, 2nd gpio D4, tried both the dots and colon combo option, but none of the dots or colon is ever ON, just the numbers (right now showing time)... not in blink, nor in no blink setting...

3rd: sending this command "7dn,09.07" in manual mode just displays "9", why?

4th: are, or will ever be, these modules supported? https://it.aliexpress.com/item/74HC595- ... 25544.html
some info about them: http://vlad-gheorghe.blogspot.com/2018/ ... hc164.html

mrshark
New user
Posts: 7
Joined: 29 Aug 2016, 15:03

Re: Connecting a TM1637 4-Digit Display

#171 Post by mrshark » 14 Aug 2018, 14:48

an other request, for help :)
i'd like to have time for 30 seconds, then show temperature for 3 seconds, then go back to time... but it doesn't seem to be possible to switch from a behaviour to an other with commands, but only via settings... i've thought something like, don't know if it's ok, any hint is appreciated:

Code: Select all

On System#Boot do
  timerSet,1,5
endon

On Rules#Timer=1 do
 SendToHTTP 127.0.0.1,80,/control?cmd=7dt,[DS18b20#Temperature]
 timerSet,2,3
endon

On Rules#Timer=2 do  //When Timer2 expires, do
 SendToHTTP 127.0.0.1,80,/control?cmd=HERE-I-NEED-A-WAY-TO-DISPLAY-TIME-WITH-BLINK
 timerSet,1,30      //Set Timer1 for the next event in 30 seconds
endon

miah
New user
Posts: 4
Joined: 26 Jun 2018, 13:24

Re: Connecting a TM1637 4-Digit Display

#172 Post by miah » 10 Sep 2018, 12:25

Could a new "Display Output:" mode be added so as the clock mode can chose between a 12hr Clock or the existing 24hr Clock

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Connecting a TM1637 4-Digit Display

#173 Post by grovkillen » 10 Sep 2018, 16:01

miah wrote: 10 Sep 2018, 12:25 Could a new "Display Output:" mode be added so as the clock mode can chose between a 12hr Clock or the existing 24hr Clock
Could you add that as a feature request on GitHub?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

MAC66666
Normal user
Posts: 11
Joined: 14 Oct 2018, 13:52

Re: Connecting a TM1637 4-Digit Display

#174 Post by MAC66666 » 14 Oct 2018, 16:03

Hmm, With the MAX7219 everything works fine, but with the TM1637 4-digits, it doesn't work. I tried several diferent Displays, none of them works. No LED ist on :( What can I do?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Connecting a TM1637 4-Digit Display

#175 Post by grovkillen » 14 Oct 2018, 16:09

MAC66666 wrote: 14 Oct 2018, 16:03 Hmm, With the MAX7219 everything works fine, but with the TM1637 4-digits, it doesn't work. I tried several diferent Displays, none of them works. No LED ist on :( What can I do?
Have you followed the wiki?

https://www.letscontrolit.com/wiki/inde ... nt_display
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

MAC66666
Normal user
Posts: 11
Joined: 14 Oct 2018, 13:52

Re: Connecting a TM1637 4-Digit Display

#176 Post by MAC66666 » 14 Oct 2018, 17:01

Yes, some of my TM1637 are exactly the same model that is shown on the pics in the wiki. tried to use the same gpios (and others) tried with 3.3 V and 5V, tried ESPEasy builds from 20000 to 20102, tried the special compiled version earlier in this thread here (somewhen in 2017), tried several esp8266 devices (wemos D1 mini and clones, NodeMCU) nothing worked for me. No reaction on the display. :(

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Connecting a TM1637 4-Digit Display

#177 Post by grovkillen » 14 Oct 2018, 17:35

Could you provide screenshots and pictures?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

MAC66666
Normal user
Posts: 11
Joined: 14 Oct 2018, 13:52

Re: Connecting a TM1637 4-Digit Display

#178 Post by MAC66666 » 14 Oct 2018, 18:39

Not at the moment, because of my banning problem, you know.

but there is nothing special to see i think. Wiring and config is exactly as in the wiki, I tried to switch the two GPOs, too and many other things, like changing the GPIOs to others, 3.3V and 4V and so on.

I know, it is hard to help me with that ;)

MAC66666
Normal user
Posts: 11
Joined: 14 Oct 2018, 13:52

Re: Connecting a TM1637 4-Digit Display

#179 Post by MAC66666 » 15 Oct 2018, 00:02

OK, I made a new firmware and set PLUGIN_73_DEBUG to true, maybe this helps? In the log it loops "7DGT: Comm ACK=FALSE" and "/DGT: WriteByte"... Like there is no connection. Used a fresh Wemos D1 mini and GPIO 0 and 2 as in the example (wiki)... And sorry for my bad english ;-)

MAC66666
Normal user
Posts: 11
Joined: 14 Oct 2018, 13:52

Re: Connecting a TM1637 4-Digit Display

#180 Post by MAC66666 » 15 Oct 2018, 21:28

Checked my hardware with https://wifi-iot.com/ and it works. So it's a problem in the plugin I think...

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests