toblum / esp_p10_tetris_clock

A tetris clock based on a 16x32 RGB matrix and a ESP8266
MIT License
49 stars 17 forks source link

Char printing with new PxMatrix #4

Open BCChad opened 5 years ago

BCChad commented 5 years ago

Hi Tobias,, I've installed the recently announced new version of PxMatrix (1,3,9=0) and AdaFruit GFX library (1.2.9). Now the opening splash screen ("Tetris Time") does not display correctly. The "s" wraps around to the second line. I am trying to track down in what library the display.print(letter) occurs. I moved the "s" to start printing in column 26, and it prints fine, and leaves a blank column #31, so it should print properly starting in column 27. Something is causing a wrap-around. I am pretty sure this is not a problem in your code but in one of the referenced libraries.

toblum commented 5 years ago

Hi @BCChad,

I will have a closer look at this code again soon as I plan to build something on a 32x32 matrix. At the moment I unfortunately find not enough time, but I hope I can continue with it in the next weeks.

Note: Please also have a look on the https://github.com/toblum/TetrisAnimation repo. Brian Lough ported this code to a library and also added text support in this video.

Best regards Tobias

burkadius commented 5 years ago

Hi Tobi, I have also installed the latest version from the tetris clock and it is the same bug (Now the opening splash screen ("Tetris Time") does not display correctly. The "s" wraps around to the second line.). But that is not a problem for me, it only happens if the clock starts. One more question. Can You also set to the" to do list" a function like Display ON/OFF by time. My clock is working in the children's room, they like it very very. But during the night time it is very very brightly. Like I understand there is no possibility to change the brightness by PWM. The only way is to "dimm" the clock with "light filters" like this "spionage folie". In the moment I switch the clock ON/OFF by an additional 230V timer, but it is not the state of the art. May be You can add a better solution ( right in the main code, there is no need to change it every week) . Best regards Burkhard

BCChad commented 5 years ago

Dear Burkhard, I have dealt with both of those issues but did not want to upload the changes and complicate Tobias' baseline.

  1. The new PxMatrix library has a command for adjusting brightness. I find a value around 40 to be pleasing, but I don't have the foil cover, just exposed LEDs. I also use io.adafruit to adjust brightness remotely.

  2. I also embedded functions to turn the display on and off at set night and morning times.

Either method solves the issue of nighttime sleeping. Yours, Bruce

On Mon, Dec 17, 2018, 2:55 AM burkadius <notifications@github.com wrote:

Hi Tobi, I have also installed the latest version from the tetris clock and it is the same bug (Now the opening splash screen ("Tetris Time") does not display correctly. The "s" wraps around to the second line.). But that is not a problem for me, it only happens if the clock starts. One more question. Can You also set to the" to do list" a function like Display ON/OFF by time. My clock is working in the children's room, they like it very very. But during the night time it is very very brightly. Like I understand there is no possibility to change the brightness by PWM. The only way is to "dimm" the clock with "light filters" like this "spionage folie". In the moment I switch the clock ON/OFF by an additional 230V timer, but it is not the state of the art. May be You can add a better solution ( right in the main code, there is no need to change it every week) . Best regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447753198, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuFMvcb0Iqoc0lExtAyay6EK3IEroks5u503cgaJpZM4XrRcj .

burkadius commented 5 years ago

Hi Bruce, thank You for the response . Unfortunately I’m not very involved with programming, more HW. Can You share to me your SW if possible. That will be great. Or more detail information how to change the brightness value in the new PxMatrix. Is it the same library like in the SW from Tobias?.Then I can try to find the brightness parameter.

Thanks Burkhard

Am 17.12.2018 um 14:25 schrieb BCChad notifications@github.com:

Dear Burkhard, I have dealt with both of those issues but did not want to upload the changes and complicate Tobias' baseline.

  1. The new PxMatrix library has a command for adjusting brightness. I find a value around 40 to be pleasing, but I don't have the foil cover, just exposed LEDs. I also use io.adafruit to adjust brightness remotely.

  2. I also embedded functions to turn the display on and off at set night and morning times.

Either method solves the issue of nighttime sleeping. Yours, Bruce

On Mon, Dec 17, 2018, 2:55 AM burkadius <notifications@github.com wrote:

Hi Tobi, I have also installed the latest version from the tetris clock and it is the same bug (Now the opening splash screen ("Tetris Time") does not display correctly. The "s" wraps around to the second line.). But that is not a problem for me, it only happens if the clock starts. One more question. Can You also set to the" to do list" a function like Display ON/OFF by time. My clock is working in the children's room, they like it very very. But during the night time it is very very brightly. Like I understand there is no possibility to change the brightness by PWM. The only way is to "dimm" the clock with "light filters" like this "spionage folie". In the moment I switch the clock ON/OFF by an additional 230V timer, but it is not the state of the art. May be You can add a better solution ( right in the main code, there is no need to change it every week) . Best regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447753198, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuFMvcb0Iqoc0lExtAyay6EK3IEroks5u503cgaJpZM4XrRcj .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447844532, or mute the thread https://github.com/notifications/unsubscribe-auth/AKHrSCmphRcIfi17KJPK2EVfeMeiJAQeks5u55tlgaJpZM4XrRcj.

BCChad commented 5 years ago

Burkhard - The simplest change is to add this line in "void setup()" somewhere after the "display.begin()" statement" display.setBrightness(8); // try values 0-255 I used values around 40 for the brightest setting. You can see why when it defaults to 255 it is much too bright!

I don't mind sharing/uploading my software but I'll have to spend some time cleaning it up first.

It occurs to me that another approach would be to use the light sensor (one came with my Arduino kit), have it measure ambient room light, and automatically adjust the brightness... I will have to play with that idea.

On Mon, Dec 17, 2018 at 8:38 AM burkadius notifications@github.com wrote:

Hi Bruce, thank You for the response . Unfortunately I’m not very involved with programming, more HW. Can You share to me your SW if possible. That will be great. Or more detail information how to change the brightness value in the new PxMatrix. Is it the same library like in the SW from Tobias?.Then I can try to find the brightness parameter.

Thanks Burkhard

Am 17.12.2018 um 14:25 schrieb BCChad notifications@github.com:

Dear Burkhard, I have dealt with both of those issues but did not want to upload the changes and complicate Tobias' baseline.

  1. The new PxMatrix library has a command for adjusting brightness. I find a value around 40 to be pleasing, but I don't have the foil cover, just exposed LEDs. I also use io.adafruit to adjust brightness remotely.

  2. I also embedded functions to turn the display on and off at set night and morning times.

Either method solves the issue of nighttime sleeping. Yours, Bruce

On Mon, Dec 17, 2018, 2:55 AM burkadius <notifications@github.com wrote:

Hi Tobi, I have also installed the latest version from the tetris clock and it is the same bug (Now the opening splash screen ("Tetris Time") does not display correctly. The "s" wraps around to the second line.). But that is not a problem for me, it only happens if the clock starts. One more question. Can You also set to the" to do list" a function like Display ON/OFF by time. My clock is working in the children's room, they like it very very. But during the night time it is very very brightly. Like I understand there is no possibility to change the brightness by PWM. The only way is to "dimm" the clock with "light filters" like this "spionage folie". In the moment I switch the clock ON/OFF by an additional 230V timer, but it is not the state of the art. May be You can add a better solution ( right in the main code, there is no need to change it every week) . Best regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447753198 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AltOuFMvcb0Iqoc0lExtAyay6EK3IEroks5u503cgaJpZM4XrRcj

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447844532>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKHrSCmphRcIfi17KJPK2EVfeMeiJAQeks5u55tlgaJpZM4XrRcj .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447848193, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuNBNnLKDYewhSRYRU7hm8q2n9bSwks5u5547gaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042

burkadius commented 5 years ago

Dear Bruce, thank You for help. I’ll try it the next days.
An automatic brightness control is of course a very nice think. At first I will try Your "manual version“ Best regards Burkhard

Am 17.12.2018 um 19:47 schrieb BCChad notifications@github.com:

Burkhard - The simplest change is to add this line in "void setup()" somewhere after the "display.begin()" statement" display.setBrightness(8); // try values 0-255 I used values around 40 for the brightest setting. You can see why when it defaults to 255 it is much too bright!

I don't mind sharing/uploading my software but I'll have to spend some time cleaning it up first.

It occurs to me that another approach would be to use the light sensor (one came with my Arduino kit), have it measure ambient room light, and automatically adjust the brightness... I will have to play with that idea.

On Mon, Dec 17, 2018 at 8:38 AM burkadius notifications@github.com wrote:

Hi Bruce, thank You for the response . Unfortunately I’m not very involved with programming, more HW. Can You share to me your SW if possible. That will be great. Or more detail information how to change the brightness value in the new PxMatrix. Is it the same library like in the SW from Tobias?.Then I can try to find the brightness parameter.

Thanks Burkhard

Am 17.12.2018 um 14:25 schrieb BCChad notifications@github.com:

Dear Burkhard, I have dealt with both of those issues but did not want to upload the changes and complicate Tobias' baseline.

  1. The new PxMatrix library has a command for adjusting brightness. I find a value around 40 to be pleasing, but I don't have the foil cover, just exposed LEDs. I also use io.adafruit to adjust brightness remotely.

  2. I also embedded functions to turn the display on and off at set night and morning times.

Either method solves the issue of nighttime sleeping. Yours, Bruce

On Mon, Dec 17, 2018, 2:55 AM burkadius <notifications@github.com wrote:

Hi Tobi, I have also installed the latest version from the tetris clock and it is the same bug (Now the opening splash screen ("Tetris Time") does not display correctly. The "s" wraps around to the second line.). But that is not a problem for me, it only happens if the clock starts. One more question. Can You also set to the" to do list" a function like Display ON/OFF by time. My clock is working in the children's room, they like it very very. But during the night time it is very very brightly. Like I understand there is no possibility to change the brightness by PWM. The only way is to "dimm" the clock with "light filters" like this "spionage folie". In the moment I switch the clock ON/OFF by an additional 230V timer, but it is not the state of the art. May be You can add a better solution ( right in the main code, there is no need to change it every week) . Best regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447753198 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AltOuFMvcb0Iqoc0lExtAyay6EK3IEroks5u503cgaJpZM4XrRcj

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447844532>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKHrSCmphRcIfi17KJPK2EVfeMeiJAQeks5u55tlgaJpZM4XrRcj .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447848193, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuNBNnLKDYewhSRYRU7hm8q2n9bSwks5u5547gaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447954960, or mute the thread https://github.com/notifications/unsubscribe-auth/AKHrSO1toWhe-2J1fWpTfA6d5zzhDSe9ks5u5-bPgaJpZM4XrRcj.

burkadius commented 5 years ago

It works fine, thanks a lot Burkhard

Am 17.12.2018 um 19:47 schrieb BCChad notifications@github.com:

Burkhard - The simplest change is to add this line in "void setup()" somewhere after the "display.begin()" statement" display.setBrightness(8); // try values 0-255 I used values around 40 for the brightest setting. You can see why when it defaults to 255 it is much too bright!

I don't mind sharing/uploading my software but I'll have to spend some time cleaning it up first.

It occurs to me that another approach would be to use the light sensor (one came with my Arduino kit), have it measure ambient room light, and automatically adjust the brightness... I will have to play with that idea.

On Mon, Dec 17, 2018 at 8:38 AM burkadius notifications@github.com wrote:

Hi Bruce, thank You for the response . Unfortunately I’m not very involved with programming, more HW. Can You share to me your SW if possible. That will be great. Or more detail information how to change the brightness value in the new PxMatrix. Is it the same library like in the SW from Tobias?.Then I can try to find the brightness parameter.

Thanks Burkhard

Am 17.12.2018 um 14:25 schrieb BCChad notifications@github.com:

Dear Burkhard, I have dealt with both of those issues but did not want to upload the changes and complicate Tobias' baseline.

  1. The new PxMatrix library has a command for adjusting brightness. I find a value around 40 to be pleasing, but I don't have the foil cover, just exposed LEDs. I also use io.adafruit to adjust brightness remotely.

  2. I also embedded functions to turn the display on and off at set night and morning times.

Either method solves the issue of nighttime sleeping. Yours, Bruce

On Mon, Dec 17, 2018, 2:55 AM burkadius <notifications@github.com wrote:

Hi Tobi, I have also installed the latest version from the tetris clock and it is the same bug (Now the opening splash screen ("Tetris Time") does not display correctly. The "s" wraps around to the second line.). But that is not a problem for me, it only happens if the clock starts. One more question. Can You also set to the" to do list" a function like Display ON/OFF by time. My clock is working in the children's room, they like it very very. But during the night time it is very very brightly. Like I understand there is no possibility to change the brightness by PWM. The only way is to "dimm" the clock with "light filters" like this "spionage folie". In the moment I switch the clock ON/OFF by an additional 230V timer, but it is not the state of the art. May be You can add a better solution ( right in the main code, there is no need to change it every week) . Best regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447753198 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AltOuFMvcb0Iqoc0lExtAyay6EK3IEroks5u503cgaJpZM4XrRcj

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447844532>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKHrSCmphRcIfi17KJPK2EVfeMeiJAQeks5u55tlgaJpZM4XrRcj .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447848193, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuNBNnLKDYewhSRYRU7hm8q2n9bSwks5u5547gaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447954960, or mute the thread https://github.com/notifications/unsubscribe-auth/AKHrSO1toWhe-2J1fWpTfA6d5zzhDSe9ks5u5-bPgaJpZM4XrRcj.

burkadius commented 5 years ago

Dear Bruce, is there any progress regarding use the light sensor for automatically adjust the brightness or functions to turn the display on and off at set night and morning times. I'm very interested Best Regards Burkhard

BCChad commented 5 years ago

Thanks for the prompt - but no, I've been off in other directions (using the arduino to run an analyzer for amateur radio antennas).
I confess I'm afraid to post my code - which is not as well-documented and cleaned up as it could be; otherwise I fear it will trigger too many questions... (but it works). Perhaps I need to commit an evening to making this available.

BCChad commented 5 years ago

Greetings Burkhard, With your prompting I have cleaned up and uploaded my code to BCChad https://github.com/BCChad/esp_p10_tetris_clock https://github.com/BCChad/esp_p10_tetris_clock

I hope I have clicked the right controls to propose these changes to Tobias, but you should be able to get them at my link above.

Good luck...! Bruce

On Tue, Feb 19, 2019 at 9:24 AM burkadius notifications@github.com wrote:

Dear Bruce, is there any progress regarding use the light sensor for automatically adjust the brightness or functions to turn the display on and off at set night and morning times. I'm very interested Best Regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-465147574, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuCcb_tFymRroiHr425BRQUd0Ca2eks5vPAkEgaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042

burkadius commented 5 years ago

Dear Bruce, thanks for the good news. In the moment I’m not at home but on Monday I will start. Best regards Burkhard

Am 23.02.2019 um 16:05 schrieb BCChad notifications@github.com:

Greetings Burkhard, With your prompting I have cleaned up and uploaded my code to BCChad https://github.com/BCChad/esp_p10_tetris_clock https://github.com/BCChad/esp_p10_tetris_clock

I hope I have clicked the right controls to propose these changes to Tobias, but you should be able to get them at my link above.

Good luck...! Bruce

On Tue, Feb 19, 2019 at 9:24 AM burkadius notifications@github.com wrote:

Dear Bruce, is there any progress regarding use the light sensor for automatically adjust the brightness or functions to turn the display on and off at set night and morning times. I'm very interested Best Regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-465147574, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuCcb_tFymRroiHr425BRQUd0Ca2eks5vPAkEgaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-466660322, or mute the thread https://github.com/notifications/unsubscribe-auth/AKHrSKGPTK_pcM1Mijv_BCHoW0SCdD3Qks5vQVipgaJpZM4XrRcj.

burkadius commented 5 years ago

Dear Bruce, I have tested Your new patch1 and it works very well. Thank’s for charing. Brightness changing and the nightOff dayOn funktionallity works fine, excluding the IO.adafruit „remote“ for displayOnOff and brigtnesscontrol. For my understanding after WiFi connection there also must be a information like „Connecting to MQTT…“ but I see only this: --- Miniterm on /dev/cu.SLAB_USBtoUART 115200,8,N,1 --- --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- WM: Connection result: WM: 3 WM: IP Address: WM: 192.168.178.37 11:08:44 26/02/2019 Winter Time. WiFi is connected. Uptime: 0 days 00:00:27 since 11:08:44 26/02/2019 Time changed: 1108 Time changed: 1109 Time changed: 1110 Time changed: 1111 Time changed: 1112

In the Adafruit.h I have installed this

/* WiFi Access Point *****/

define WLAN_SSID "WLAN 7390 2,4GHz EGD21"

define WLAN_PASS "burkharddrechsler0308"

/* Adafruit.io Setup *****/ // Set up your account at io.adafruit.com

define AIO_SERVER "io.adafruit.com"

define AIO_SERVERPORT 1883 // use 8883 for SSL

define AIO_USERNAME "burki1952"

define AIO_KEY "77c680f7311b4700b453c6144d4b6088"

/**** Global State (you don't need to change this!) **/

and my dashboard looks like Yous.

Here ist the URL https://io.adafruit.com/burki1952/dashboards/tetrisclockAm 23.02.2019 um 16:05 schrieb BCChad notifications@github.com:

May be You can give me a tip ? Best regards Burkhard

Greetings Burkhard, With your prompting I have cleaned up and uploaded my code to BCChad https://github.com/BCChad/esp_p10_tetris_clock https://github.com/BCChad/esp_p10_tetris_clock

I hope I have clicked the right controls to propose these changes to Tobias, but you should be able to get them at my link above.

Good luck...! Bruce

On Tue, Feb 19, 2019 at 9:24 AM burkadius notifications@github.com wrote:

Dear Bruce, is there any progress regarding use the light sensor for automatically adjust the brightness or functions to turn the display on and off at set night and morning times. I'm very interested Best Regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-465147574, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuCcb_tFymRroiHr425BRQUd0Ca2eks5vPAkEgaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-466660322, or mute the thread https://github.com/notifications/unsubscribe-auth/AKHrSKGPTK_pcM1Mijv_BCHoW0SCdD3Qks5vQVipgaJpZM4XrRcj.

BCChad commented 5 years ago

Hi Burkhard I could get to your IO.Adafruit page but could not open the settings of the controls, but I hope they are similar to mine.

I'm a little fuzzy in remembering how MQTT actually works, but I remember going into the Arudino IDE "Examples" in the file menu down near the bottom under "Custom Libraries" is the Adafruit MQTT Library and one example called mqtt_esp8266. I believe I tried a basic example to make sure I got it working correctly before integrating with the Tetris Clock - this approach may help you.

On Tue, Feb 26, 2019 at 5:42 AM burkadius notifications@github.com wrote:

Dear Bruce, I have tested Your new patch1 and it works very well. Thank’s for charing. Brightness changing and the nightOff dayOn funktionallity works fine, excluding the IO.adafruit „remote“ for displayOnOff and brigtnesscontrol. For my understanding after WiFi connection there also must be a information like „Connecting to MQTT…“ but I see only this: --- Miniterm on /dev/cu.SLAB_USBtoUART 115200,8,N,1 --- --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- WM: Connection result: WM: 3 WM: IP Address: WM: 192.168.178.37 11:08:44 26/02/2019 Winter Time. WiFi is connected. Uptime: 0 days 00:00:27 since 11:08:44 26/02/2019 Time changed: 1108 Time changed: 1109 Time changed: 1110 Time changed: 1111 Time changed: 1112

In the Adafruit.h I have installed this

/* WiFi Access Point *****/

define WLAN_SSID "WLAN 7390 2,4GHz EGD21"

define WLAN_PASS "burkharddrechsler0308"

/* Adafruit.io Setup *****/ // Set up your account at io.adafruit.com

define AIO_SERVER "io.adafruit.com"

define AIO_SERVERPORT 1883 // use 8883 for SSL

define AIO_USERNAME "burki1952"

define AIO_KEY "77c680f7311b4700b453c6144d4b6088"

/**** Global State (you don't need to change this!) **/

and my dashboard looks like Yous.

Here ist the URL https://io.adafruit.com/burki1952/dashboards/tetrisclockAm 23.02.2019 um 16:05 schrieb BCChad notifications@github.com:

May be You can give me a tip ? Best regards Burkhard

Greetings Burkhard, With your prompting I have cleaned up and uploaded my code to BCChad https://github.com/BCChad/esp_p10_tetris_clock https://github.com/BCChad/esp_p10_tetris_clock

I hope I have clicked the right controls to propose these changes to Tobias, but you should be able to get them at my link above.

Good luck...! Bruce

On Tue, Feb 19, 2019 at 9:24 AM burkadius notifications@github.com wrote:

Dear Bruce, is there any progress regarding use the light sensor for automatically adjust the brightness or functions to turn the display on and off at set night and morning times. I'm very interested Best Regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-465147574 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AltOuCcb_tFymRroiHr425BRQUd0Ca2eks5vPAkEgaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-466660322>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKHrSKGPTK_pcM1Mijv_BCHoW0SCdD3Qks5vQVipgaJpZM4XrRcj .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467389529, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuJEpILx_f0O1qAXjFjHcyEKtt72xks5vRQ-vgaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042

burkadius commented 5 years ago

Hi Bruce, thanks for response. Yes, my settings are exactly the same. I had have the same idea like You. I will try it next time.

Am 26.02.2019 um 19:11 schrieb BCChad notifications@github.com:

Hi Burkhard I could get to your IO.Adafruit page but could not open the settings of the controls, but I hope they are similar to mine.

I'm a little fuzzy in remembering how MQTT actually works, but I remember going into the Arudino IDE "Examples" in the file menu down near the bottom under "Custom Libraries" is the Adafruit MQTT Library and one example called mqtt_esp8266. I believe I tried a basic example to make sure I got it working correctly before integrating with the Tetris Clock - this approach may help you.

On Tue, Feb 26, 2019 at 5:42 AM burkadius notifications@github.com wrote:

Dear Bruce, I have tested Your new patch1 and it works very well. Thank’s for charing. Brightness changing and the nightOff dayOn funktionallity works fine, excluding the IO.adafruit „remote“ for displayOnOff and brigtnesscontrol. For my understanding after WiFi connection there also must be a information like „Connecting to MQTT…“ but I see only this: --- Miniterm on /dev/cu.SLAB_USBtoUART 115200,8,N,1 --- --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- WM: Connection result: WM: 3 WM: IP Address: WM: 192.168.178.37 11:08:44 26/02/2019 Winter Time. WiFi is connected. Uptime: 0 days 00:00:27 since 11:08:44 26/02/2019 Time changed: 1108 Time changed: 1109 Time changed: 1110 Time changed: 1111 Time changed: 1112

In the Adafruit.h I have installed this

/* WiFi Access Point *****/

define WLAN_SSID "WLAN 7390 2,4GHz EGD21"

define WLAN_PASS "burkharddrechsler0308"

/* Adafruit.io Setup *****/ // Set up your account at io.adafruit.com

define AIO_SERVER "io.adafruit.com"

define AIO_SERVERPORT 1883 // use 8883 for SSL

define AIO_USERNAME "burki1952"

define AIO_KEY "77c680f7311b4700b453c6144d4b6088"

/**** Global State (you don't need to change this!) **/

and my dashboard looks like Yous.

Here ist the URL https://io.adafruit.com/burki1952/dashboards/tetrisclockAm 23.02.2019 um 16:05 schrieb BCChad notifications@github.com:

May be You can give me a tip ? Best regards Burkhard

Greetings Burkhard, With your prompting I have cleaned up and uploaded my code to BCChad https://github.com/BCChad/esp_p10_tetris_clock https://github.com/BCChad/esp_p10_tetris_clock

I hope I have clicked the right controls to propose these changes to Tobias, but you should be able to get them at my link above.

Good luck...! Bruce

On Tue, Feb 19, 2019 at 9:24 AM burkadius notifications@github.com wrote:

Dear Bruce, is there any progress regarding use the light sensor for automatically adjust the brightness or functions to turn the display on and off at set night and morning times. I'm very interested Best Regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-465147574 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AltOuCcb_tFymRroiHr425BRQUd0Ca2eks5vPAkEgaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-466660322>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKHrSKGPTK_pcM1Mijv_BCHoW0SCdD3Qks5vQVipgaJpZM4XrRcj .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467389529, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuJEpILx_f0O1qAXjFjHcyEKtt72xks5vRQ-vgaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467549717, or mute the thread https://github.com/notifications/unsubscribe-auth/AKHrSCpIIKJvyLO7lI6dsmDBRPUS9xtRks5vRXjNgaJpZM4XrRcj.

burkadius commented 5 years ago

Hi Bruce, I think I found the reason for my problem regarding the MQTT etc. I have installed in VS-Code Your ESP_P10_TETRIS_Clock-BCCHAD-Patch-1. In this patch are two .ino files. The first is the „tetris_clock.ino with any .h files. If I change in this . ino file the flag 12 or 24 hours and the „nowDay“ or „nowNight“ parameters it works fine. But if I do the same on the „tetris_clock_IoT_v4.ino „ respectively in the chad_time.h file nothing will change, it is without any effect. Therefore I think I do anything wrong during installation / flashing the sketch to the board. I’m not familiar with VS Code and I don’t know what I have to do that only the sketch with Your patch will be transferred to the board. Must I delete in the src folder the tetris_clock.ino and the .h files in the upper part or is there a special command to exclude this files. I hope You understand my problem . Best regards burkhard

Am 26.02.2019 um 19:11 schrieb BCChad notifications@github.com:

Hi Burkhard I could get to your IO.Adafruit page but could not open the settings of the controls, but I hope they are similar to mine.

I'm a little fuzzy in remembering how MQTT actually works, but I remember going into the Arudino IDE "Examples" in the file menu down near the bottom under "Custom Libraries" is the Adafruit MQTT Library and one example called mqtt_esp8266. I believe I tried a basic example to make sure I got it working correctly before integrating with the Tetris Clock - this approach may help you.

On Tue, Feb 26, 2019 at 5:42 AM burkadius notifications@github.com wrote:

Dear Bruce, I have tested Your new patch1 and it works very well. Thank’s for charing. Brightness changing and the nightOff dayOn funktionallity works fine, excluding the IO.adafruit „remote“ for displayOnOff and brigtnesscontrol. For my understanding after WiFi connection there also must be a information like „Connecting to MQTT…“ but I see only this: --- Miniterm on /dev/cu.SLAB_USBtoUART 115200,8,N,1 --- --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- WM: Connection result: WM: 3 WM: IP Address: WM: 192.168.178.37 11:08:44 26/02/2019 Winter Time. WiFi is connected. Uptime: 0 days 00:00:27 since 11:08:44 26/02/2019 Time changed: 1108 Time changed: 1109 Time changed: 1110 Time changed: 1111 Time changed: 1112

In the Adafruit.h I have installed this

/* WiFi Access Point *****/

define WLAN_SSID "WLAN 7390 2,4GHz EGD21"

define WLAN_PASS "burkharddrechsler0308"

/* Adafruit.io Setup *****/ // Set up your account at io.adafruit.com

define AIO_SERVER "io.adafruit.com"

define AIO_SERVERPORT 1883 // use 8883 for SSL

define AIO_USERNAME "burki1952"

define AIO_KEY "77c680f7311b4700b453c6144d4b6088"

/**** Global State (you don't need to change this!) **/

and my dashboard looks like Yous.

Here ist the URL https://io.adafruit.com/burki1952/dashboards/tetrisclockAm 23.02.2019 um 16:05 schrieb BCChad notifications@github.com:

May be You can give me a tip ? Best regards Burkhard

Greetings Burkhard, With your prompting I have cleaned up and uploaded my code to BCChad https://github.com/BCChad/esp_p10_tetris_clock https://github.com/BCChad/esp_p10_tetris_clock

I hope I have clicked the right controls to propose these changes to Tobias, but you should be able to get them at my link above.

Good luck...! Bruce

On Tue, Feb 19, 2019 at 9:24 AM burkadius notifications@github.com wrote:

Dear Bruce, is there any progress regarding use the light sensor for automatically adjust the brightness or functions to turn the display on and off at set night and morning times. I'm very interested Best Regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-465147574 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AltOuCcb_tFymRroiHr425BRQUd0Ca2eks5vPAkEgaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-466660322>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKHrSKGPTK_pcM1Mijv_BCHoW0SCdD3Qks5vQVipgaJpZM4XrRcj .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467389529, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuJEpILx_f0O1qAXjFjHcyEKtt72xks5vRQ-vgaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467549717, or mute the thread https://github.com/notifications/unsubscribe-auth/AKHrSCpIIKJvyLO7lI6dsmDBRPUS9xtRks5vRXjNgaJpZM4XrRcj.

BCChad commented 5 years ago

Hi Burckhard, Sorry, but I don't completely understand your comment. I'm not sure what "VS Code" is? I am involved in other things now such that it is hard for me to devote much research into this for you. I'm sure you will learn and solve the problem by careful analysis.

On Thu, Feb 28, 2019 at 8:35 AM burkadius notifications@github.com wrote:

Hi Bruce, I think I found the reason for my problem regarding the MQTT etc. I have installed in VS-Code Your ESP_P10_TETRIS_Clock-BCCHAD-Patch-1. In this patch are two .ino files. The first is the „tetris_clock.ino with any .h files. If I change in this . ino file the flag 12 or 24 hours and the „nowDay“ or „nowNight“ parameters it works fine. But if I do the same on the „tetris_clock_IoT_v4.ino „ respectively in the chad_time.h file nothing will change, it is without any effect. Therefore I think I do anything wrong during installation / flashing the sketch to the board. I’m not familiar with VS Code and I don’t know what I have to do that only the sketch with Your patch will be transferred to the board. Must I delete in the src folder the tetris_clock.ino and the .h files in the upper part or is there a special command to exclude this files. I hope You understand my problem . Best regards burkhard

Am 26.02.2019 um 19:11 schrieb BCChad notifications@github.com:

Hi Burkhard I could get to your IO.Adafruit page but could not open the settings of the controls, but I hope they are similar to mine.

I'm a little fuzzy in remembering how MQTT actually works, but I remember going into the Arudino IDE "Examples" in the file menu down near the bottom under "Custom Libraries" is the Adafruit MQTT Library and one example called mqtt_esp8266. I believe I tried a basic example to make sure I got it working correctly before integrating with the Tetris Clock - this approach may help you.

On Tue, Feb 26, 2019 at 5:42 AM burkadius notifications@github.com wrote:

Dear Bruce, I have tested Your new patch1 and it works very well. Thank’s for charing. Brightness changing and the nightOff dayOn funktionallity works fine, excluding the IO.adafruit „remote“ for displayOnOff and brigtnesscontrol. For my understanding after WiFi connection there also must be a information like „Connecting to MQTT…“ but I see only this: --- Miniterm on /dev/cu.SLAB_USBtoUART 115200,8,N,1 --- --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- WM: Connection result: WM: 3 WM: IP Address: WM: 192.168.178.37 11:08:44 26/02/2019 Winter Time. WiFi is connected. Uptime: 0 days 00:00:27 since 11:08:44 26/02/2019 Time changed: 1108 Time changed: 1109 Time changed: 1110 Time changed: 1111 Time changed: 1112

In the Adafruit.h I have installed this

/* WiFi Access Point *****/

define WLAN_SSID "WLAN 7390 2,4GHz EGD21"

define WLAN_PASS "burkharddrechsler0308"

/* Adafruit.io Setup *****/ // Set up your account at io.adafruit.com

define AIO_SERVER "io.adafruit.com"

define AIO_SERVERPORT 1883 // use 8883 for SSL

define AIO_USERNAME "burki1952"

define AIO_KEY "77c680f7311b4700b453c6144d4b6088"

/**** Global State (you don't need to change this!) **/

and my dashboard looks like Yous.

Here ist the URL https://io.adafruit.com/burki1952/dashboards/tetrisclockAm 23.02.2019 um 16:05 schrieb BCChad notifications@github.com:

May be You can give me a tip ? Best regards Burkhard

Greetings Burkhard, With your prompting I have cleaned up and uploaded my code to BCChad https://github.com/BCChad/esp_p10_tetris_clock https://github.com/BCChad/esp_p10_tetris_clock

I hope I have clicked the right controls to propose these changes to Tobias, but you should be able to get them at my link above.

Good luck...! Bruce

On Tue, Feb 19, 2019 at 9:24 AM burkadius notifications@github.com wrote:

Dear Bruce, is there any progress regarding use the light sensor for automatically adjust the brightness or functions to turn the display on and off at set night and morning times. I'm very interested Best Regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-465147574

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AltOuCcb_tFymRroiHr425BRQUd0Ca2eks5vPAkEgaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-466660322 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/AKHrSKGPTK_pcM1Mijv_BCHoW0SCdD3Qks5vQVipgaJpZM4XrRcj

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467389529 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AltOuJEpILx_f0O1qAXjFjHcyEKtt72xks5vRQ-vgaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467549717>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKHrSCpIIKJvyLO7lI6dsmDBRPUS9xtRks5vRXjNgaJpZM4XrRcj .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-468274493, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuKQ88NXFnq-QFSErvhGP52p0h5TNks5vR9s0gaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042

burkadius commented 5 years ago

Hi Bruce, no problem. In the end of the day I maked it working !! (with excellent help of my son) I have all converted to the arduino IDE and now it works fine, I can switch on/off the display an change the brightness . In the moment the only problem is the timezone. But tomorrow I will solve this problem also (I hope so). Thanks a lot for Your support. I think my grandchilds will have a lot of fun with the clock Best regards Burkhard

Am 01.03.2019 um 15:24 schrieb BCChad notifications@github.com:

Hi Burckhard, Sorry, but I don't completely understand your comment. I'm not sure what "VS Code" is? I am involved in other things now such that it is hard for me to devote much research into this for you. I'm sure you will learn and solve the problem by careful analysis.

On Thu, Feb 28, 2019 at 8:35 AM burkadius notifications@github.com wrote:

Hi Bruce, I think I found the reason for my problem regarding the MQTT etc. I have installed in VS-Code Your ESP_P10_TETRIS_Clock-BCCHAD-Patch-1. In this patch are two .ino files. The first is the „tetris_clock.ino with any .h files. If I change in this . ino file the flag 12 or 24 hours and the „nowDay“ or „nowNight“ parameters it works fine. But if I do the same on the „tetris_clock_IoT_v4.ino „ respectively in the chad_time.h file nothing will change, it is without any effect. Therefore I think I do anything wrong during installation / flashing the sketch to the board. I’m not familiar with VS Code and I don’t know what I have to do that only the sketch with Your patch will be transferred to the board. Must I delete in the src folder the tetris_clock.ino and the .h files in the upper part or is there a special command to exclude this files. I hope You understand my problem . Best regards burkhard

Am 26.02.2019 um 19:11 schrieb BCChad notifications@github.com:

Hi Burkhard I could get to your IO.Adafruit page but could not open the settings of the controls, but I hope they are similar to mine.

I'm a little fuzzy in remembering how MQTT actually works, but I remember going into the Arudino IDE "Examples" in the file menu down near the bottom under "Custom Libraries" is the Adafruit MQTT Library and one example called mqtt_esp8266. I believe I tried a basic example to make sure I got it working correctly before integrating with the Tetris Clock - this approach may help you.

On Tue, Feb 26, 2019 at 5:42 AM burkadius notifications@github.com wrote:

Dear Bruce, I have tested Your new patch1 and it works very well. Thank’s for charing. Brightness changing and the nightOff dayOn funktionallity works fine, excluding the IO.adafruit „remote“ for displayOnOff and brigtnesscontrol. For my understanding after WiFi connection there also must be a information like „Connecting to MQTT…“ but I see only this: --- Miniterm on /dev/cu.SLAB_USBtoUART 115200,8,N,1 --- --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- WM: Connection result: WM: 3 WM: IP Address: WM: 192.168.178.37 11:08:44 26/02/2019 Winter Time. WiFi is connected. Uptime: 0 days 00:00:27 since 11:08:44 26/02/2019 Time changed: 1108 Time changed: 1109 Time changed: 1110 Time changed: 1111 Time changed: 1112

In the Adafruit.h I have installed this

/* WiFi Access Point *****/

define WLAN_SSID "WLAN 7390 2,4GHz EGD21"

define WLAN_PASS "burkharddrechsler0308"

/* Adafruit.io Setup *****/ // Set up your account at io.adafruit.com

define AIO_SERVER "io.adafruit.com"

define AIO_SERVERPORT 1883 // use 8883 for SSL

define AIO_USERNAME "burki1952"

define AIO_KEY "77c680f7311b4700b453c6144d4b6088"

/**** Global State (you don't need to change this!) **/

and my dashboard looks like Yous.

Here ist the URL https://io.adafruit.com/burki1952/dashboards/tetrisclockAm 23.02.2019 um 16:05 schrieb BCChad notifications@github.com:

May be You can give me a tip ? Best regards Burkhard

Greetings Burkhard, With your prompting I have cleaned up and uploaded my code to BCChad https://github.com/BCChad/esp_p10_tetris_clock https://github.com/BCChad/esp_p10_tetris_clock

I hope I have clicked the right controls to propose these changes to Tobias, but you should be able to get them at my link above.

Good luck...! Bruce

On Tue, Feb 19, 2019 at 9:24 AM burkadius notifications@github.com wrote:

Dear Bruce, is there any progress regarding use the light sensor for automatically adjust the brightness or functions to turn the display on and off at set night and morning times. I'm very interested Best Regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-465147574

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AltOuCcb_tFymRroiHr425BRQUd0Ca2eks5vPAkEgaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-466660322 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/AKHrSKGPTK_pcM1Mijv_BCHoW0SCdD3Qks5vQVipgaJpZM4XrRcj

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467389529 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AltOuJEpILx_f0O1qAXjFjHcyEKtt72xks5vRQ-vgaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467549717>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKHrSCpIIKJvyLO7lI6dsmDBRPUS9xtRks5vRXjNgaJpZM4XrRcj .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-468274493, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuKQ88NXFnq-QFSErvhGP52p0h5TNks5vR9s0gaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-468681164, or mute the thread https://github.com/notifications/unsubscribe-auth/AKHrSIWFBG2uMM5qvYtgVBr4U7M17bAwks5vSTgegaJpZM4XrRcj.

BCChad commented 5 years ago

Thank you for the good news. I will leave it to you and your son to design the light sensor to automatically adjust the LED brightness, and when you do, please publish it!

On Fri, Mar 1, 2019 at 1:54 PM burkadius notifications@github.com wrote:

Hi Bruce, no problem. In the end of the day I maked it working !! (with excellent help of my son) I have all converted to the arduino IDE and now it works fine, I can switch on/off the display an change the brightness . In the moment the only problem is the timezone. But tomorrow I will solve this problem also (I hope so). Thanks a lot for Your support. I think my grandchilds will have a lot of fun with the clock Best regards Burkhard

Am 01.03.2019 um 15:24 schrieb BCChad notifications@github.com:

Hi Burckhard, Sorry, but I don't completely understand your comment. I'm not sure what "VS Code" is? I am involved in other things now such that it is hard for me to devote much research into this for you. I'm sure you will learn and solve the problem by careful analysis.

On Thu, Feb 28, 2019 at 8:35 AM burkadius notifications@github.com wrote:

Hi Bruce, I think I found the reason for my problem regarding the MQTT etc. I have installed in VS-Code Your ESP_P10_TETRIS_Clock-BCCHAD-Patch-1. In this patch are two .ino files. The first is the „tetris_clock.ino with any .h files. If I change in this . ino file the flag 12 or 24 hours and the „nowDay“ or „nowNight“ parameters it works fine. But if I do the same on the „tetris_clock_IoT_v4.ino „ respectively in the chad_time.h file nothing will change, it is without any effect. Therefore I think I do anything wrong during installation / flashing the sketch to the board. I’m not familiar with VS Code and I don’t know what I have to do that only the sketch with Your patch will be transferred to the board. Must I delete in the src folder the tetris_clock.ino and the .h files in the upper part or is there a special command to exclude this files. I hope You understand my problem . Best regards burkhard

Am 26.02.2019 um 19:11 schrieb BCChad notifications@github.com:

Hi Burkhard I could get to your IO.Adafruit page but could not open the settings of the controls, but I hope they are similar to mine.

I'm a little fuzzy in remembering how MQTT actually works, but I remember going into the Arudino IDE "Examples" in the file menu down near the bottom under "Custom Libraries" is the Adafruit MQTT Library and one example called mqtt_esp8266. I believe I tried a basic example to make sure I got it working correctly before integrating with the Tetris Clock - this approach may help you.

On Tue, Feb 26, 2019 at 5:42 AM burkadius notifications@github.com wrote:

Dear Bruce, I have tested Your new patch1 and it works very well. Thank’s for charing. Brightness changing and the nightOff dayOn funktionallity works fine, excluding the IO.adafruit „remote“ for displayOnOff and brigtnesscontrol. For my understanding after WiFi connection there also must be a information like „Connecting to MQTT…“ but I see only this: --- Miniterm on /dev/cu.SLAB_USBtoUART 115200,8,N,1 --- --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H

WM: Connection result: WM: 3 WM: IP Address: WM: 192.168.178.37 11:08:44 26/02/2019 Winter Time. WiFi is connected. Uptime: 0 days 00:00:27 since 11:08:44 26/02/2019 Time changed: 1108 Time changed: 1109 Time changed: 1110 Time changed: 1111 Time changed: 1112

In the Adafruit.h I have installed this

/* WiFi Access Point *****/

define WLAN_SSID "WLAN 7390 2,4GHz EGD21"

define WLAN_PASS "burkharddrechsler0308"

/* Adafruit.io Setup *****/ // Set up your account at io.adafruit.com

define AIO_SERVER "io.adafruit.com"

define AIO_SERVERPORT 1883 // use 8883 for SSL

define AIO_USERNAME "burki1952"

define AIO_KEY "77c680f7311b4700b453c6144d4b6088"

/**** Global State (you don't need to change this!) **/

and my dashboard looks like Yous.

Here ist the URL https://io.adafruit.com/burki1952/dashboards/tetrisclockAm 23.02.2019 um 16:05 schrieb BCChad notifications@github.com:

May be You can give me a tip ? Best regards Burkhard

Greetings Burkhard, With your prompting I have cleaned up and uploaded my code to BCChad https://github.com/BCChad/esp_p10_tetris_clock https://github.com/BCChad/esp_p10_tetris_clock

I hope I have clicked the right controls to propose these changes to Tobias, but you should be able to get them at my link above.

Good luck...! Bruce

On Tue, Feb 19, 2019 at 9:24 AM burkadius < notifications@github.com> wrote:

Dear Bruce, is there any progress regarding use the light sensor for automatically adjust the brightness or functions to turn the display on and off at set night and morning times. I'm very interested Best Regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-465147574

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AltOuCcb_tFymRroiHr425BRQUd0Ca2eks5vPAkEgaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-466660322

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AKHrSKGPTK_pcM1Mijv_BCHoW0SCdD3Qks5vQVipgaJpZM4XrRcj

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467389529

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AltOuJEpILx_f0O1qAXjFjHcyEKtt72xks5vRQ-vgaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467549717 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/AKHrSCpIIKJvyLO7lI6dsmDBRPUS9xtRks5vRXjNgaJpZM4XrRcj

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-468274493 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AltOuKQ88NXFnq-QFSErvhGP52p0h5TNks5vR9s0gaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-468681164>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKHrSIWFBG2uMM5qvYtgVBr4U7M17bAwks5vSTgegaJpZM4XrRcj .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-468771331, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuEicCD8BA6qCc7CIsOVJMk2q8hdLks5vSXdngaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042

burkadius commented 5 years ago

Hi Bruce, I will try it. B U T my son is like You always very busy (works by mega.com in Germany). I have a lot of time but not the knowledge 🥵 But anyway I have one more question : Is in the code of Tetristime a automatic change from winter to summertime Integrated (DST) I have not found it. And may be You know about it: in Europa it is in use. Nobody knows how long, but next month the time will be change again. ok. Yes or no ? Thanks in advance Burkhard

Am 01.03.2019 um 21:13 schrieb BCChad notifications@github.com:

Thank you for the good news. I will leave it to you and your son to design the light sensor to automatically adjust the LED brightness, and when you do, please publish it!

On Fri, Mar 1, 2019 at 1:54 PM burkadius notifications@github.com wrote:

Hi Bruce, no problem. In the end of the day I maked it working !! (with excellent help of my son) I have all converted to the arduino IDE and now it works fine, I can switch on/off the display an change the brightness . In the moment the only problem is the timezone. But tomorrow I will solve this problem also (I hope so). Thanks a lot for Your support. I think my grandchilds will have a lot of fun with the clock Best regards Burkhard

Am 01.03.2019 um 15:24 schrieb BCChad notifications@github.com:

Hi Burckhard, Sorry, but I don't completely understand your comment. I'm not sure what "VS Code" is? I am involved in other things now such that it is hard for me to devote much research into this for you. I'm sure you will learn and solve the problem by careful analysis.

On Thu, Feb 28, 2019 at 8:35 AM burkadius notifications@github.com wrote:

Hi Bruce, I think I found the reason for my problem regarding the MQTT etc. I have installed in VS-Code Your ESP_P10_TETRIS_Clock-BCCHAD-Patch-1. In this patch are two .ino files. The first is the „tetris_clock.ino with any .h files. If I change in this . ino file the flag 12 or 24 hours and the „nowDay“ or „nowNight“ parameters it works fine. But if I do the same on the „tetris_clock_IoT_v4.ino „ respectively in the chad_time.h file nothing will change, it is without any effect. Therefore I think I do anything wrong during installation / flashing the sketch to the board. I’m not familiar with VS Code and I don’t know what I have to do that only the sketch with Your patch will be transferred to the board. Must I delete in the src folder the tetris_clock.ino and the .h files in the upper part or is there a special command to exclude this files. I hope You understand my problem . Best regards burkhard

Am 26.02.2019 um 19:11 schrieb BCChad notifications@github.com:

Hi Burkhard I could get to your IO.Adafruit page but could not open the settings of the controls, but I hope they are similar to mine.

I'm a little fuzzy in remembering how MQTT actually works, but I remember going into the Arudino IDE "Examples" in the file menu down near the bottom under "Custom Libraries" is the Adafruit MQTT Library and one example called mqtt_esp8266. I believe I tried a basic example to make sure I got it working correctly before integrating with the Tetris Clock - this approach may help you.

On Tue, Feb 26, 2019 at 5:42 AM burkadius notifications@github.com wrote:

Dear Bruce, I have tested Your new patch1 and it works very well. Thank’s for charing. Brightness changing and the nightOff dayOn funktionallity works fine, excluding the IO.adafruit „remote“ for displayOnOff and brigtnesscontrol. For my understanding after WiFi connection there also must be a information like „Connecting to MQTT…“ but I see only this: --- Miniterm on /dev/cu.SLAB_USBtoUART 115200,8,N,1 --- --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H

WM: Connection result: WM: 3 WM: IP Address: WM: 192.168.178.37 11:08:44 26/02/2019 Winter Time. WiFi is connected. Uptime: 0 days 00:00:27 since 11:08:44 26/02/2019 Time changed: 1108 Time changed: 1109 Time changed: 1110 Time changed: 1111 Time changed: 1112

In the Adafruit.h I have installed this

/* WiFi Access Point *****/

define WLAN_SSID "WLAN 7390 2,4GHz EGD21"

define WLAN_PASS "burkharddrechsler0308"

/* Adafruit.io Setup *****/ // Set up your account at io.adafruit.com

define AIO_SERVER "io.adafruit.com"

define AIO_SERVERPORT 1883 // use 8883 for SSL

define AIO_USERNAME "burki1952"

define AIO_KEY "77c680f7311b4700b453c6144d4b6088"

/**** Global State (you don't need to change this!) **/

and my dashboard looks like Yous.

Here ist the URL https://io.adafruit.com/burki1952/dashboards/tetrisclockAm 23.02.2019 um 16:05 schrieb BCChad notifications@github.com:

May be You can give me a tip ? Best regards Burkhard

Greetings Burkhard, With your prompting I have cleaned up and uploaded my code to BCChad https://github.com/BCChad/esp_p10_tetris_clock https://github.com/BCChad/esp_p10_tetris_clock

I hope I have clicked the right controls to propose these changes to Tobias, but you should be able to get them at my link above.

Good luck...! Bruce

On Tue, Feb 19, 2019 at 9:24 AM burkadius < notifications@github.com> wrote:

Dear Bruce, is there any progress regarding use the light sensor for automatically adjust the brightness or functions to turn the display on and off at set night and morning times. I'm very interested Best Regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-465147574

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AltOuCcb_tFymRroiHr425BRQUd0Ca2eks5vPAkEgaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-466660322

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AKHrSKGPTK_pcM1Mijv_BCHoW0SCdD3Qks5vQVipgaJpZM4XrRcj

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467389529

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AltOuJEpILx_f0O1qAXjFjHcyEKtt72xks5vRQ-vgaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467549717 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/AKHrSCpIIKJvyLO7lI6dsmDBRPUS9xtRks5vRXjNgaJpZM4XrRcj

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-468274493 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AltOuKQ88NXFnq-QFSErvhGP52p0h5TNks5vR9s0gaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-468681164>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKHrSIWFBG2uMM5qvYtgVBr4U7M17bAwks5vSTgegaJpZM4XrRcj .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-468771331, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuEicCD8BA6qCc7CIsOVJMk2q8hdLks5vSXdngaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-468796908, or mute the thread https://github.com/notifications/unsubscribe-auth/AKHrSH1C_gEFScGhK2Z4eFRLC8V384Nkks5vSYn_gaJpZM4XrRcj.

BCChad commented 5 years ago

There is automatic daylight savings time change but it happened several days later than it was supposed to, for us anyway. A bug was reported.

On Sun, Mar 3, 2019, 1:32 PM burkadius notifications@github.com wrote:

Hi Bruce, I will try it. B U T my son is like You always very busy (works by mega.com in Germany). I have a lot of time but not the knowledge 🥵 But anyway I have one more question : Is in the code of Tetristime a automatic change from winter to summertime Integrated (DST) I have not found it. And may be You know about it: in Europa it is in use. Nobody knows how long, but next month the time will be change again. ok. Yes or no ? Thanks in advance Burkhard

Am 01.03.2019 um 21:13 schrieb BCChad notifications@github.com:

Thank you for the good news. I will leave it to you and your son to design the light sensor to automatically adjust the LED brightness, and when you do, please publish it!

On Fri, Mar 1, 2019 at 1:54 PM burkadius notifications@github.com wrote:

Hi Bruce, no problem. In the end of the day I maked it working !! (with excellent help of my son) I have all converted to the arduino IDE and now it works fine, I can switch on/off the display an change the brightness . In the moment the only problem is the timezone. But tomorrow I will solve this problem also (I hope so). Thanks a lot for Your support. I think my grandchilds will have a lot of fun with the clock Best regards Burkhard

Am 01.03.2019 um 15:24 schrieb BCChad notifications@github.com:

Hi Burckhard, Sorry, but I don't completely understand your comment. I'm not sure what "VS Code" is? I am involved in other things now such that it is hard for me to devote much research into this for you. I'm sure you will learn and solve the problem by careful analysis.

On Thu, Feb 28, 2019 at 8:35 AM burkadius notifications@github.com wrote:

Hi Bruce, I think I found the reason for my problem regarding the MQTT etc. I have installed in VS-Code Your ESP_P10_TETRIS_Clock-BCCHAD-Patch-1. In this patch are two .ino files. The first is the „tetris_clock.ino with any .h files. If I change in this . ino file the flag 12 or 24 hours and the „nowDay“ or „nowNight“ parameters it works fine. But if I do the same on the „tetris_clock_IoT_v4.ino „ respectively in the chad_time.h file nothing will change, it is without any effect. Therefore I think I do anything wrong during installation / flashing the sketch to the board. I’m not familiar with VS Code and I don’t know what I have to do that only the sketch with Your patch will be transferred to the board. Must I delete in the src folder the tetris_clock.ino and the .h files in the upper part or is there a special command to exclude this files. I hope You understand my problem . Best regards burkhard

Am 26.02.2019 um 19:11 schrieb BCChad <notifications@github.com :

Hi Burkhard I could get to your IO.Adafruit page but could not open the settings of the controls, but I hope they are similar to mine.

I'm a little fuzzy in remembering how MQTT actually works, but I remember going into the Arudino IDE "Examples" in the file menu down near the bottom under "Custom Libraries" is the Adafruit MQTT Library and one example called mqtt_esp8266. I believe I tried a basic example to make sure I got it working correctly before integrating with the Tetris Clock - this approach may help you.

On Tue, Feb 26, 2019 at 5:42 AM burkadius < notifications@github.com> wrote:

Dear Bruce, I have tested Your new patch1 and it works very well. Thank’s for charing. Brightness changing and the nightOff dayOn funktionallity works fine, excluding the IO.adafruit „remote“ for displayOnOff and brigtnesscontrol. For my understanding after WiFi connection there also must be a information like „Connecting to MQTT…“ but I see only this: --- Miniterm on /dev/cu.SLAB_USBtoUART 115200,8,N,1 --- --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H

WM: Connection result: WM: 3 WM: IP Address: WM: 192.168.178.37 11:08:44 26/02/2019 Winter Time. WiFi is connected. Uptime: 0 days 00:00:27 since 11:08:44 26/02/2019 Time changed: 1108 Time changed: 1109 Time changed: 1110 Time changed: 1111 Time changed: 1112

In the Adafruit.h I have installed this

/* WiFi Access Point *****/

define WLAN_SSID "WLAN 7390 2,4GHz EGD21"

define WLAN_PASS "burkharddrechsler0308"

/* Adafruit.io Setup *****/ // Set up your account at io.adafruit.com

define AIO_SERVER "io.adafruit.com"

define AIO_SERVERPORT 1883 // use 8883 for SSL

define AIO_USERNAME "burki1952"

define AIO_KEY "77c680f7311b4700b453c6144d4b6088"

/**** Global State (you don't need to change this!) **/

and my dashboard looks like Yous.

Here ist the URL https://io.adafruit.com/burki1952/dashboards/tetrisclockAm 23.02.2019 um 16:05 schrieb BCChad notifications@github.com:

May be You can give me a tip ? Best regards Burkhard

Greetings Burkhard, With your prompting I have cleaned up and uploaded my code to BCChad https://github.com/BCChad/esp_p10_tetris_clock https://github.com/BCChad/esp_p10_tetris_clock

I hope I have clicked the right controls to propose these changes to Tobias, but you should be able to get them at my link above.

Good luck...! Bruce

On Tue, Feb 19, 2019 at 9:24 AM burkadius < notifications@github.com> wrote:

Dear Bruce, is there any progress regarding use the light sensor for automatically adjust the brightness or functions to turn the display on and off at set night and morning times. I'm very interested Best Regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-465147574

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AltOuCcb_tFymRroiHr425BRQUd0Ca2eks5vPAkEgaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-466660322

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AKHrSKGPTK_pcM1Mijv_BCHoW0SCdD3Qks5vQVipgaJpZM4XrRcj

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467389529

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AltOuJEpILx_f0O1qAXjFjHcyEKtt72xks5vRQ-vgaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-467549717

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AKHrSCpIIKJvyLO7lI6dsmDBRPUS9xtRks5vRXjNgaJpZM4XrRcj

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-468274493

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AltOuKQ88NXFnq-QFSErvhGP52p0h5TNks5vR9s0gaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-468681164 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/AKHrSIWFBG2uMM5qvYtgVBr4U7M17bAwks5vSTgegaJpZM4XrRcj

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-468771331 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AltOuEicCD8BA6qCc7CIsOVJMk2q8hdLks5vSXdngaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042 — You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-468796908>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKHrSH1C_gEFScGhK2Z4eFRLC8V384Nkks5vSYn_gaJpZM4XrRcj .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-469050227, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuONcLNqIsvbr0PXtLXONxEM8J7Znks5vTBUsgaJpZM4XrRcj .

BCChad commented 5 years ago

Hi Burkhard I've encountered a problem I hope you can solve (or Tobias!). I updated my Ticker.h file for an experiment with the Arduino Uno but now I can't get back to a good install of the Tetris Clock on the ESP8266. The timer ticker or display ticker seems to be broken and I get a stack overflow dump in my serial monitor.

How do I revert back to the original Ticker.h for ESP8266? I cannot seem to find it on GitHub.

On Mon, Dec 17, 2018 at 8:38 AM burkadius notifications@github.com wrote:

Hi Bruce, thank You for the response . Unfortunately I’m not very involved with programming, more HW. Can You share to me your SW if possible. That will be great. Or more detail information how to change the brightness value in the new PxMatrix. Is it the same library like in the SW from Tobias?.Then I can try to find the brightness parameter.

Thanks Burkhard

Am 17.12.2018 um 14:25 schrieb BCChad notifications@github.com:

Dear Burkhard, I have dealt with both of those issues but did not want to upload the changes and complicate Tobias' baseline.

  1. The new PxMatrix library has a command for adjusting brightness. I find a value around 40 to be pleasing, but I don't have the foil cover, just exposed LEDs. I also use io.adafruit to adjust brightness remotely.

  2. I also embedded functions to turn the display on and off at set night and morning times.

Either method solves the issue of nighttime sleeping. Yours, Bruce

On Mon, Dec 17, 2018, 2:55 AM burkadius <notifications@github.com wrote:

Hi Tobi, I have also installed the latest version from the tetris clock and it is the same bug (Now the opening splash screen ("Tetris Time") does not display correctly. The "s" wraps around to the second line.). But that is not a problem for me, it only happens if the clock starts. One more question. Can You also set to the" to do list" a function like Display ON/OFF by time. My clock is working in the children's room, they like it very very. But during the night time it is very very brightly. Like I understand there is no possibility to change the brightness by PWM. The only way is to "dimm" the clock with "light filters" like this "spionage folie". In the moment I switch the clock ON/OFF by an additional 230V timer, but it is not the state of the art. May be You can add a better solution ( right in the main code, there is no need to change it every week) . Best regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447753198 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AltOuFMvcb0Iqoc0lExtAyay6EK3IEroks5u503cgaJpZM4XrRcj

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447844532>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKHrSCmphRcIfi17KJPK2EVfeMeiJAQeks5u55tlgaJpZM4XrRcj .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447848193, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuNBNnLKDYewhSRYRU7hm8q2n9bSwks5u5547gaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042

burkadius commented 5 years ago

Hi Bruce, I took it from here: https://github.com/esp8266/Arduino

But how I have told to you, I converted the file to the Arduino IDE. If You like it I can send to You a .bin file from Tetris Clock. Best regards Burkhard

Gesendet von Mail für Windows 10

Von: BCChad Gesendet: Montag, 11. März 2019 00:50 An: toblum/esp_p10_tetris_clock Cc: burkadius; Comment Betreff: Re: [toblum/esp_p10_tetris_clock] Char printing with new PxMatrix(#4)

Hi Burkhard I've encountered a problem I hope you can solve (or Tobias!). I updated my Ticker.h file for an experiment with the Arduino Uno but now I can't get back to a good install of the Tetris Clock on the ESP8266. The timer ticker or display ticker seems to be broken and I get a stack overflow dump in my serial monitor.

How do I revert back to the original Ticker.h for ESP8266? I cannot seem to find it on GitHub.

On Mon, Dec 17, 2018 at 8:38 AM burkadius notifications@github.com wrote:

Hi Bruce, thank You for the response . Unfortunately I’m not very involved with programming, more HW. Can You share to me your SW if possible. That will be great. Or more detail information how to change the brightness value in the new PxMatrix. Is it the same library like in the SW from Tobias?.Then I can try to find the brightness parameter.

Thanks Burkhard

Am 17.12.2018 um 14:25 schrieb BCChad notifications@github.com:

Dear Burkhard, I have dealt with both of those issues but did not want to upload the changes and complicate Tobias' baseline.

  1. The new PxMatrix library has a command for adjusting brightness. I find a value around 40 to be pleasing, but I don't have the foil cover, just exposed LEDs. I also use io.adafruit to adjust brightness remotely.

  2. I also embedded functions to turn the display on and off at set night and morning times.

Either method solves the issue of nighttime sleeping. Yours, Bruce

On Mon, Dec 17, 2018, 2:55 AM burkadius <notifications@github.com wrote:

Hi Tobi, I have also installed the latest version from the tetris clock and it is the same bug (Now the opening splash screen ("Tetris Time") does not display correctly. The "s" wraps around to the second line.). But that is not a problem for me, it only happens if the clock starts. One more question. Can You also set to the" to do list" a function like Display ON/OFF by time. My clock is working in the children's room, they like it very very. But during the night time it is very very brightly. Like I understand there is no possibility to change the brightness by PWM. The only way is to "dimm" the clock with "light filters" like this "spionage folie". In the moment I switch the clock ON/OFF by an additional 230V timer, but it is not the state of the art. May be You can add a better solution ( right in the main code, there is no need to change it every week) . Best regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447753198 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AltOuFMvcb0Iqoc0lExtAyay6EK3IEroks5u503cgaJpZM4XrRcj

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447844532>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKHrSCmphRcIfi17KJPK2EVfeMeiJAQeks5u55tlgaJpZM4XrRcj .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447848193, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuNBNnLKDYewhSRYRU7hm8q2n9bSwks5u5547gaJpZM4XrRcj .

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

BCChad commented 5 years ago

Thanks Burkhard, I think I solved the Ticker problem by reinstalling the ESP8266 board in the Arduino IDE, and it probably never was the problem. I'm seeing a panic dump in my serial monitor, and it seems to be crashing while attempting some MQTT commands. I remember you had asked me about MQTT not behaving. I think an update to the Adafruit MQTT library has triggered this problem. There is some discussion in the forums about this. If you have an insight please share. Thanks.

On Mon, Mar 11, 2019, 3:53 AM burkadius notifications@github.com wrote:

Hi Bruce, I took it from here: https://github.com/esp8266/Arduino

But how I have told to you, I converted the file to the Arduino IDE. If You like it I can send to You a .bin file from Tetris Clock. Best regards Burkhard

Gesendet von Mail für Windows 10

Von: BCChad Gesendet: Montag, 11. März 2019 00:50 An: toblum/esp_p10_tetris_clock Cc: burkadius; Comment Betreff: Re: [toblum/esp_p10_tetris_clock] Char printing with new PxMatrix(#4)

Hi Burkhard I've encountered a problem I hope you can solve (or Tobias!). I updated my Ticker.h file for an experiment with the Arduino Uno but now I can't get back to a good install of the Tetris Clock on the ESP8266. The timer ticker or display ticker seems to be broken and I get a stack overflow dump in my serial monitor.

How do I revert back to the original Ticker.h for ESP8266? I cannot seem to find it on GitHub.

On Mon, Dec 17, 2018 at 8:38 AM burkadius notifications@github.com wrote:

Hi Bruce, thank You for the response . Unfortunately I’m not very involved with programming, more HW. Can You share to me your SW if possible. That will be great. Or more detail information how to change the brightness value in the new PxMatrix. Is it the same library like in the SW from Tobias?.Then I can try to find the brightness parameter.

Thanks Burkhard

Am 17.12.2018 um 14:25 schrieb BCChad notifications@github.com:

Dear Burkhard, I have dealt with both of those issues but did not want to upload the changes and complicate Tobias' baseline.

  1. The new PxMatrix library has a command for adjusting brightness. I find a value around 40 to be pleasing, but I don't have the foil cover, just exposed LEDs. I also use io.adafruit to adjust brightness remotely.

  2. I also embedded functions to turn the display on and off at set night and morning times.

Either method solves the issue of nighttime sleeping. Yours, Bruce

On Mon, Dec 17, 2018, 2:55 AM burkadius <notifications@github.com wrote:

Hi Tobi, I have also installed the latest version from the tetris clock and it is the same bug (Now the opening splash screen ("Tetris Time") does not display correctly. The "s" wraps around to the second line.). But that is not a problem for me, it only happens if the clock starts. One more question. Can You also set to the" to do list" a function like Display ON/OFF by time. My clock is working in the children's room, they like it very very. But during the night time it is very very brightly. Like I understand there is no possibility to change the brightness by PWM. The only way is to "dimm" the clock with "light filters" like this "spionage folie". In the moment I switch the clock ON/OFF by an additional 230V timer, but it is not the state of the art. May be You can add a better solution ( right in the main code, there is no need to change it every week) . Best regards Burkhard

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447753198

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AltOuFMvcb0Iqoc0lExtAyay6EK3IEroks5u503cgaJpZM4XrRcj

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447844532 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/AKHrSCmphRcIfi17KJPK2EVfeMeiJAQeks5u55tlgaJpZM4XrRcj

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-447848193 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AltOuNBNnLKDYewhSRYRU7hm8q2n9bSwks5u5547gaJpZM4XrRcj

.

-- Bruce Chadbourne 306 Fern Circle Lebanon PA 17042

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/esp_p10_tetris_clock/issues/4#issuecomment-471437566, or mute the thread https://github.com/notifications/unsubscribe-auth/AltOuLMx8CyObhS34V2RptfbJdA0NHHEks5vVguPgaJpZM4XrRcj .

burkadius commented 5 years ago

Hi Bruce, thats me again. I’m trying to convert / adapting Your sketch to a P3 RGB LED Matrix 64x32. In the foto You can see my result. Can You say me where in the code is the part where I can „zoom“ the digits. Also the digits must move down approximately 8-10 pixel . May be You can help me. My knowledge in programming is equally zero. Best regards Burkhard

BCChad commented 5 years ago

Burkhard, I don't see any attached foto. Maybe you can send it attached in a private note? Also - a P3 matrix is 64x64 according to https://github.com/2dom/PxMatrix. That page has instructions that should help you further.
Look in your code for "display.begin()" - where can be 4,8,16,32 depending on your matrix. Also you would have to change values of x, y coordinates for the larger display.