PlummersSoftwareLLC / NightDriverStrip

NightDriver client for ESP32
https://plummerssoftwarellc.github.io/NightDriverStrip/
GNU General Public License v3.0
1.29k stars 210 forks source link

stock effect triggers error in the serial #640

Closed heidepiek closed 2 days ago

heidepiek commented 3 days ago

This week I downloaded the latest version of the code from the nightdriver github site. Was curious if some new stuff had been added. And saw that a stock effect had been added. Now I have nothing to do with stocks myself, but autistic as I am. If something is added it should work. But when I click the stocks effect I get the following message in the serial:

(I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 25 Refresh: 60 Hz, Power: 2426 mW, Brite: 100%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 050%, 013%, FreeDraw: 0.035 (W) (NotifyJSONWriterThread)(C1) >> Notifying JSON Writer Thread (I) (WriteCurrentEffectIndexFile)(C0) Number of bytes written to file /current.cfg: 2 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 91%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 065%, 044%, FreeDraw: 0.017 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 051%, 035%, FreeDraw: 0.024 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 47, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 052%, 034%, FreeDraw: 0.027 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 050%, 034%, FreeDraw: 0.018 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 053%, 041%, FreeDraw: 0.023 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 051%, 033%, FreeDraw: 0.023 (W) (NotifyJSONWriterThread)(C1) >> Notifying JSON Writer Thread (W) (NotifyNetworkThread)(C1) >> Notifying Network Thread (I) (FetchQuotes)(C1) Starting update of stocks... [ 71075][E][WiFiClient.cpp:268] connect(): socket error on fd 54, errno: 104, "Connection reset by peer" (E) (GetQuote)(C1) [HTTP] GET failed, error: connection refused (E) [ 71270][E][WiFiClient.cpp:268] connect(): socket error on fd 54, errno: 104, "Connection reset by peer" (E) (GetQuote)(C1) [HTTP] GET failed, error: connection refused (E) [ 71476][E][WiFiClient.cpp:268] connect(): socket error on fd 54, errno: 104, "Connection reset by peer" (E) (GetQuote)(C1) [HTTP] GET failed, error: connection refused (E) [ 71782][E][WiFiClient.cpp:268] connect(): socket error on fd 54, errno: 104, "Connection reset by peer" (E) (GetQuote)(C1) [HTTP] GET failed, error: connection refused (E) (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65120, LargestBlk: 31732, PSRAM Free: 387579/4172219, LED FPS: 25 Refresh: 60 Hz, Power: 2926 mW, Brite: 100%, Audio FPS: 52, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500,

Is there anything I'm overlooking? Is there anything that needs to be added in a file? Know I can also turn off the effect, but what I said. If the option is there, it's supposed to do it in my head.

stocks

Regards Harrie

davepl commented 3 days ago

Stock server may not have been running. Try it now.

On Jul 4, 2024, at 1:21 PM, Harke Bosgraaf @.***> wrote:

This week I downloaded the latest version of the code from the nightdriver github site. Was curious if some new stuff had been added. And saw that a stock effect had been added. Now I have nothing to do with stocks myself, but autistic as I am. If something is added it should work. But when I click the stocks effect I get the following message in the serial:

(I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 25 Refresh: 60 Hz, Power: 2426 mW, Brite: 100%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 050%, 013%, FreeDraw: 0.035 (W) (NotifyJSONWriterThread)(C1) >> Notifying JSON Writer Thread (I) (WriteCurrentEffectIndexFile)(C0) Number of bytes written to file /current.cfg: 2 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 91%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 065%, 044%, FreeDraw: 0.017 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 051%, 035%, FreeDraw: 0.024 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 47, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 052%, 034%, FreeDraw: 0.027 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 050%, 034%, FreeDraw: 0.018 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 053%, 041%, FreeDraw: 0.023 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 051%, 033%, FreeDraw: 0.023 (W) (NotifyJSONWriterThread)(C1) >> Notifying JSON Writer Thread (W) (NotifyNetworkThread)(C1) >> Notifying Network Thread (I) (FetchQuotes)(C1) Starting update of stocks... [ 71075][E][WiFiClient.cpp:268] connect(): socket error on fd 54, errno: 104, "Connection reset by peer" (E) (GetQuote)(C1) [HTTP] GET failed, error: connection refused (E) [ 71270][E][WiFiClient.cpp:268] connect(): socket error on fd 54, errno: 104, "Connection reset by peer" (E) (GetQuote)(C1) [HTTP] GET failed, error: connection refused (E) [ 71476][E][WiFiClient.cpp:268] connect(): socket error on fd 54, errno: 104, "Connection reset by peer" (E) (GetQuote)(C1) [HTTP] GET failed, error: connection refused (E) [ 71782][E][WiFiClient.cpp:268] connect(): socket error on fd 54, errno: 104, "Connection reset by peer" (E) (GetQuote)(C1) [HTTP] GET failed, error: connection refused (E) (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65120, LargestBlk: 31732, PSRAM Free: 387579/4172219, LED FPS: 25 Refresh: 60 Hz, Power: 2926 mW, Brite: 100%, Audio FPS: 52, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500,

Is there anything I'm overlooking? Is there anything that needs to be added in a file? Know I can also turn off the effect, but what I said. If the option is there, it's supposed to do it in my head.

stocks.jpg (view on web) https://github.com/PlummersSoftwareLLC/NightDriverStrip/assets/104028471/9cec1f0d-1c26-4919-b087-1c2b6aec1c11 Regards Harrie

— Reply to this email directly, view it on GitHub https://github.com/PlummersSoftwareLLC/NightDriverStrip/issues/640, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4HCF5NQYR527JIMPQRJDDZKWVEFAVCNFSM6AAAAABKMCKT4GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TCNBSGU4DCNI. You are receiving this because you are subscribed to this thread.

davepl commented 3 days ago

BTW you can verify that the stock server is running as it should be at:

http://davepl.com:8888/?ticker=MSFT

On Jul 4, 2024, at 1:21 PM, Harke Bosgraaf @.***> wrote:

This week I downloaded the latest version of the code from the nightdriver github site. Was curious if some new stuff had been added. And saw that a stock effect had been added. Now I have nothing to do with stocks myself, but autistic as I am. If something is added it should work. But when I click the stocks effect I get the following message in the serial:

(I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 25 Refresh: 60 Hz, Power: 2426 mW, Brite: 100%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 050%, 013%, FreeDraw: 0.035 (W) (NotifyJSONWriterThread)(C1) >> Notifying JSON Writer Thread (I) (WriteCurrentEffectIndexFile)(C0) Number of bytes written to file /current.cfg: 2 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 91%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 065%, 044%, FreeDraw: 0.017 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 051%, 035%, FreeDraw: 0.024 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 47, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 052%, 034%, FreeDraw: 0.027 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 050%, 034%, FreeDraw: 0.018 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 053%, 041%, FreeDraw: 0.023 (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65276, LargestBlk: 31732, PSRAM Free: 387827/4172235, LED FPS: 30 Refresh: 60 Hz, Power: 4641 mW, Brite: 97%, Audio FPS: 50, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500, CPU: 051%, 033%, FreeDraw: 0.023 (W) (NotifyJSONWriterThread)(C1) >> Notifying JSON Writer Thread (W) (NotifyNetworkThread)(C1) >> Notifying Network Thread (I) (FetchQuotes)(C1) Starting update of stocks... [ 71075][E][WiFiClient.cpp:268] connect(): socket error on fd 54, errno: 104, "Connection reset by peer" (E) (GetQuote)(C1) [HTTP] GET failed, error: connection refused (E) [ 71270][E][WiFiClient.cpp:268] connect(): socket error on fd 54, errno: 104, "Connection reset by peer" (E) (GetQuote)(C1) [HTTP] GET failed, error: connection refused (E) [ 71476][E][WiFiClient.cpp:268] connect(): socket error on fd 54, errno: 104, "Connection reset by peer" (E) (GetQuote)(C1) [HTTP] GET failed, error: connection refused (E) [ 71782][E][WiFiClient.cpp:268] connect(): socket error on fd 54, errno: 104, "Connection reset by peer" (E) (GetQuote)(C1) [HTTP] GET failed, error: connection refused (E) (I) (loop)(C1) WiFi: WL_CONNECTED, IP: 192.168.1.248, Mem: 65120, LargestBlk: 31732, PSRAM Free: 387579/4172219, LED FPS: 25 Refresh: 60 Hz, Power: 2926 mW, Brite: 100%, Audio FPS: 52, MinVU: 0.0, PeakVU: 0.0, VURatio: 0.0 Buffer: 0/500,

Is there anything I'm overlooking? Is there anything that needs to be added in a file? Know I can also turn off the effect, but what I said. If the option is there, it's supposed to do it in my head.

stocks.jpg (view on web) https://github.com/PlummersSoftwareLLC/NightDriverStrip/assets/104028471/9cec1f0d-1c26-4919-b087-1c2b6aec1c11 Regards Harrie

— Reply to this email directly, view it on GitHub https://github.com/PlummersSoftwareLLC/NightDriverStrip/issues/640, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4HCF5NQYR527JIMPQRJDDZKWVEFAVCNFSM6AAAAABKMCKT4GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TCNBSGU4DCNI. You are receiving this because you are subscribed to this thread.

heidepiek commented 3 days ago

hi dave, when I click on this link I get the following on the screen:

stocks1

But the stock effect does work on mesmerizer now! Don't know why the link doesn't work, but mesmerizer can do something with it by the looks of it. Maybe something to work on?

Now I have to hurry to work, I'm late again. But had to try this!

Regards Harrie

rbergen commented 3 days ago

That's because depending on where/how you use the link, there are some bogus characters at the end of it. If you remove everything after MSFT from the URL, it will work.

(Actually, the "no data available" message already proves the required service is running, but it isn't its most interesting output. :) )

rbergen commented 3 days ago

I've now edited Dave's comment to fix the link. It should "just work" now.

heidepiek commented 2 days ago

Thanks dave and rutger! I think dave was right that the stock server was not running. (wednesday, juli 3) I wasnt the only one that could not get data for the stocks effect. But just got home, and turned on the mesmerizer and It works properly. The bogus characters i did not see when i read daves reply 🙈

Wishing everyone a great weekend! 👊

Greetz

Harrie