Code Monkey home page Code Monkey logo

pixelit's Introduction

PixelIt - The Matrix Display

GitHub Workflow Status (with event) GitHub all releases GitHub Repo stars GitHub commit activity (branch) GitHub commit activity (branch) GitHub top language

The PixelIt is an ESP8266/ESP32 and WS2812B-LED based PixelArt display, controlled and fed via a JSON API. Settings and small tests are possible via the web interface, also a Node-RED node (node-red-contrib-pixelit) for the JSON API is available.

If you want to get an impression of the WebUI, you can do that here in Demo WebUI 🚀

Project highlights

Contributors

Thanks to these great people for supporting this project.

o0shojo0o
o0shojo0o
foorschtbar
foorschtbar
miccgn
miccgn
rliegmann
rliegmann
jekader
jekader
Metaln00b
Metaln00b
pplucky
pplucky
fmunozs
fmunozs
rozza-m
rozza-m
Flolant
Flolant
hermannbach
hermannbach
d4rkd3v1l
d4rkd3v1l
hamster65
hamster65

WebUI

Changelog

2.5.1 (2024-04-07)

  • (rliegmann) Fixed ESP32 Pin Definition
  • (foorschtbar) Fixed build issue with MAX44009 lib

2.5.0 (2023-11-20)

  • (foorschtbar) Fixes "MQTT message is to long" [#322]
  • (o0shojo0o) Adjustments in the WebUI for the new API structure of the UserMap endpoint
  • (o0shojo0o) Also now in the WebUI Improved check of new firmware through a real version comparison
  • (o0shojo0o) Added config backup and restore to WebUI [#319]
  • (o0shojo0o) Added Statistics to WebUI
  • (jekader) Added large 8px non-bold clock font [#320]
  • (foorschtbar) Made HomeAssistant service discovery configurable
  • (foorschtbar) Added optional MQTT device topic (<Mastertopic>/<Hostname>/<commands>)

2.4.3 (2023-10-17)

  • (foorschtbar) Native support for Ulanzi TC001 Pixel Clock* 🎉
  • (foorschtbar) Display zZz on the matrix when the device going to sleep
  • (foorschtbar) Fixed issue with flickering icons, wenn device wake from sleep mode
  • (Metaln00b) Improved new firmware check by doing real version compare (major, minor, patch and prerelease)
  • (o0shojo0o) As of this version, it is possible to install via the new webflasher
  • (jekader) Remove duplication from platformio.ini [#315]
  • (foorschtbar) MQTT/Websocket message interval for sensors and matrix info are now minimum 10 seconds to reduce "noise" on the network
  • (foorschtbar) Added support for SHT31 sensor
  • (foorschtbar) Log error if MQTT or Websocket message is to long
  • (jekader) Improve logging during pin assignment
  • (foorschtbar) Added build section from PIO config to matrix info and telemetry data

2.3.2 (2023-09-16)

  • (foorschtbar) Added live preview (liveview) of the Matrix to WebUI
  • (foorschtbar) Added uptime, size and last reset reason to WebUI
  • (foorschtbar) Screens from test area are now displayed prioritized for 5 seconds
  • (foorschtbar) Combine centerText with scrollText=auto [#96]
  • (foorschtbar) Cleanup text drawing/scrolling code [Breaking change: Text position is now mandatory and will not be shiffed if there is an icon!]
  • (foorschtbar) Prepearing support for different matrix sizes
  • (o0shojo0o) Added native Pixel Creator to WebUI

2.2.0 (2023-02-11)

  • (miccgn) Fix Show weekdays
  • (miccgn) Fix probing onewire can break previos i2c communication
  • (rliegmann) Bring ESP32 support back
  • (foorschtbar) Removed support for ESP32. There are incompatibilities with the WiFi Manager lib and the maintenance effort to fix this is currently too high (PRs are welcome!)
  • (foorschtbar) Swaped DFPlayer Mini TX and RX pins - Description in frontend and source code now fit together. [Breaking change: No migration takes place! You need to swap the pins in your config!]
  • (foorschtbar) Support for NodeMCU v2
  • (d4rkd3v1l) any "clock" json parameters are now optional #222

2.1.2 (2022-09-29)

  • (o0shojo0o) fix WebUi

2.1.1 (2022-09-29)

  • (foorschtbar) added Play a sound file on boot of PixelIt 🔊

2.0.0 (2022-09-14)

!!! Breaking changes !!!

  • (pplucky) fix Home Assistant MQTT discovery for buttons more
  • (foorschtbar) readded support for tiled 4x 8x8 CJMCU Matrix in column major order
  • (o0shojo0o) added new icons to UserMap
  • (fmunozs) added proper "folder" icon and swap names with "file"
  • (o0shojo0o) increase the timout for the wifi connection to 30 seconds

1.2.0 (2022-09-03)

  • (o0shojo0o) added send Telemetry data
    • Send telemetry data is enabled by default, but can be disabled at any time in the WebUI under Options.
  • (o0shojo0o) added UserMap to WebUI
  • (foorschtbar) search and display of new FW versions
  • (foorschtbar) new boot animation 👀

1.1.0 (2022-08-16)

  • (o0shojo0o) fix URLs in WebUi
  • (o0shojo0o) added option to disable the weekdays on the clock over API / WebUi

1.0.0 (2022-07-22)

!!! Breaking changes !!!

  • (o0shojo0o) reworked the output of the buttons via API and MQTT to get the "press" and "release" event (press = true, release = false). Example: {"buttons":{"rightButton":true}}

0.4.0 (2022-07-04)

  • (foorschtbar) added support for new "MicroMatrix by foorschtbar" more | Repo 🎉
  • (foorschtbar) fixed the Tiled 4x 8x8 CJMCU Matrix Type (its doesn't work before)
  • (o0shojo0o) fixed option for non-flashing time separator over JSON (internal clock)

0.3.20 (2022-05-31)

  • (pplucky) MQTT Discovery enhancements
  • (o0shojo0o) update WebUi disallow decimals on 'Auto brightness' settings
  • (o0shojo0o) extended WebUi for 'Wifi Reset' and 'Factory Reset'
  • (o0shojo0o) added 'Wifi Reset' and 'Factory Reset' function for WebAPI and Socket
  • (o0shojo0o) fix hexColor for bar and bars
  • (rozza-m) added fat clock font more
  • (pplucky) Improve MQTT discovery

0.3.19 (2022-04-24)

  • (o0shojo0o) fix weekday is not lighting if week is starting with monday (internal clock)
  • (o0shojo0o) extended WebUi for non-flashing time separator option
  • (rozza-m) remove leading zero from hours when in 12h mode (internal clock)
  • (rozza-m) provide option for non-flashing time separator (internal clock)

0.3.18 (2022-04-04)

  • (o0shojo0o) added option to change the start of the week (internal clock)
  • (o0shojo0o) added option to change date format (internal clock)
  • (hamster65) increase AM2320 sensor delay from 600 to 800ms

0.3.17 (2022-03-02)

  • (o0shojo0o) fixed wrong DST handling
  • (hermannbach) added support for BMP280 (only tested on D1 mini.)
  • (miccgn) memory optimization
  • (miccgn) added MQTT discovery information in HomeAssistant style
  • (miccgn) fix mqtt LWT
  • (miccgn) increase interval between reconnect attempts
  • (miccgn) added support for Max44009 lux sensor

0.3.16 (2022-01-21)

  • (miccgn) offer Zigzag animation and random animation for Clock Auto Fallback
  • (miccgn) added button actions for MP3 control
  • (miccgn) rearrange and fix WebUI
  • (miccgn) added support for local hardware buttons
  • (miccgn) added LDR smoothing
  • (miccgn) added support for BH1750 light sensor
  • (miccgn) added ZigZagWipe, bitmapWipe and randomization for wipes
  • (miccgn) fixed MP3Player
  • (miccgn) added possibility to set GL55xx type and resistor value in settings
  • (miccgn) added selectable pins for MP3Player and Sensors (ESP8266 only)
  • (miccgn) optimization of read BME680
  • (miccgn) added multiple Bitmaps

0.3.15 (2021-12-04)

  • (o0shojo0o) added offset options for gas sensor
  • (miccgn) added BME680 support

0.3.14 (2021-11-14)

  • (o0shojo0o) added delay for AM2320 sesnor
  • (o0shojo0o) Pixel Gallery is now a part of the WebUi

0.3.13 (2021-10-31)

  • (o0shojo0o) added option for auto fallback animation
  • (o0shojo0o) fixed auto brightness overrides sleep mode
  • (o0shojo0o) fixed clock auto fallback overrides sleep mode

0.3.12 (2021-10-16)

  • (o0shojo0o) added option for DayLightSaving
  • (o0shojo0o) added option for 12H / 24H

0.3.11 (2021-10-14)

  • (o0shojo0o) added new WebUi on vue base

0.3.10 (2021-09-14)

  • (o0shojo0o) fixed clock draw

0.3.9 (2021-09-02)

  • (o0shojo0o) fixed auto brightness, to high values

0.3.8 (2021-08-11)

0.3.7 (2021-07-05)

  • (foorschtbar) added some UTF8 icons to font
  • (foorschtbar) rewirtten UTF8 mapper function
  • (o0shojo0o) added offset options for sensors
  • (o0shojo0o) added Clock auto fallback function
  • (o0shojo0o) added config for Clock auto fallback function

0.3.6 (2021-06-14)

  • (o0shojo0o) added API endpoint /api/brightness
  • (o0shojo0o) added config for temperature (°C or °F)
  • (foorschtbar) added support for BME280
  • (foorschtbar) moved most libs to common section

0.3.5 (2021-05-26)

  • (o0shojo0o) extension of the API with the call setGpio
  • (o0shojo0o) added download statistics to the update page

0.3.4 (2021-05-20)

  • (foorschtbar) improved MQTT reconnect
  • (o0shojo0o) support decimal number input for UTC
  • (o0shojo0o) bugfix for Firefox
  • (foorschtbar) added a customizable hostname
  • (o0shojo0o) add update notification to dashboard
  • (o0shojo0o) add GitHub link to dashboard
  • (o0shojo0o) fix links in dashboard
  • (o0shojo0o) transferred the other stuff from cdn to repo
  • (foorschtbar) tweaked dashboard a little bit
  • (foorschtbar) added a note field
  • (foorschtbar) allow a Hostname as MQTT Server (Broker)
  • (o0shojo0o) add dashboard.css and pixel.js to repo
  • (foorschtbar) switches now have the proper mouse pointer

0.3.3 (2021-05-18)

  • (o0shojo0o) add auto brightness options
  • (o0shojo0o) add auto brightness

0.3.2_beta (2021-05-18)

  • (o0shojo0o) add hexColor to Clock, Text, Bar and Bars
  • (o0shojo0o) fix wemos_d1_mini32 build
  • (xarnze) show message on hotspot mode
  • (xarnze) added support for 4x 8x8 CJMCU 64 Matrix (Type 3)
  • (o0shojo0o) reactivate for esp8266 builds getSketchSize
  • (o0shojo0o) set mqtt setBufferSize to 8000
  • (o0shojo0o) add env for d1_mini
  • (rliegmann) add some missing llibs
  • (rliegmann) add some libs into .pio
  • (rliegmann) Merge pull request #2 from rliegmann/feature/clockDefaultsToFS-
  • (rliegmann) block out getSketchSize temporary
  • (rliegmann) change some build options in pio
  • (rliegmann) clock default settings, adjust MQTT buffer size, some typo
  • (rliegmann) Merge pull request #1 from rliegmann/feature/cross-esp-platform
  • (rliegmann) add ESP32 and ESP8266 libs
  • (rliegmann) remove VisualStudio overhead + port to platformIO

0.3.1 (2021-04-29)

  • (o0shojo0o) change MQTT_MAX_PACKET_SIZE from 4000 to 8000
  • (o0shojo0o) new versioning

1912182240 (2019-12-20)

  • (o0shojo0o) Added support for DFPlayer Mini MP3 Player

1912092038 (2019-12-08)

  • (o0shojo0o) Bugfix of the JSON from the API response
  • (o0shojo0o) Bugfix memory leak
  • (o0shojo0o) Added special characters to font

1910272052 (2019-10-27)

  • (o0shojo0o) Support for DHT22 added

1910221857 (2019-10-22)

  • (o0shojo0o) Bugfix of the JSON decoder logic (thanks to @pixelthis )

1909242249 (2019-09-25)

  • (o0shojo0o) There was a change in the send interval (via MQTT and Websocket) of the light sensor and the MatrixInfo
    • The light sensor sends a maximum of once per second when the lux value changes.
    • The MatrixInfo transmits once every 3 seconds when a value is changed.
  • (o0shojo0o) Now the protocol websocket on port 81 has been added.
  • (o0shojo0o) And the biggest innovation is the webinterface which is now available on PixelIt.

196232032 (2019-06-23)

  • (o0shojo0o) Added Wifimanager configuration timeout (180 seconds)

195161726 (2019-05-16)

  • (o0shojo0o) Added option to disable the boot screen

194241742 (2019-04-24)

  • (o0shojo0o) Add more option to set Matrix Temp Correction

19422209 (2019-04-23)

  • (o0shojo0o) Add new option to set Matrix Temp Correction

1942197 (2019-04-02)

  • (o0shojo0o) Bugfix animation handling

193312043 (2019-03-31)

  • (o0shojo0o) Bugfix DSToffset

193272138 (2019-03-27)

  • (o0shojo0o) Bugfix NTP TimeZone will now be interpreted correctly
  • (o0shojo0o) Add new option to set NTP-Server

19324816 (2019-03-24)

  • (o0shojo0o) Bugfix bitmap handling on scrolltext

193231249 (2019-03-23)

  • (o0shojo0o) Bugfix Erroneous representation of full screen bitmap

193152351 (2019-03-16)

  • (o0shojo0o) Bugfix bitmap flickering on scrolling text

193151540 (2019-03-15)

  • (o0shojo0o) Bugfix, there were problems with the animations in combination with the fade transition effect, so they were not displayed correctly.

193111919 (2019-03-11)

  • (o0shojo0o) Bugfix Clock Color: If red was set to 0, the color was always ignored.

1938019 (2019-03-08)

  • (o0shojo0o) add optional BitmapAnimation param: limitLoops

19362326 (2019-03-06)

  • (o0shojo0o) Bugfix BitmapAnimation: First frame was displayed too short.

19362115 (2019-03-06)

  • (o0shojo0o) Bugfix BitmapAnimation: Animation was displayed a bit too late when a text was submitted with

19352221 (2019-03-05)

  • (o0shojo0o) add optional Internal Clock param: withSeconds
  • (o0shojo0o) add config param: scrollTextDefaultDelay
  • (o0shojo0o) add optional Text param: scrollTextDelay
  • (o0shojo0o) add optional BitmapAnimation param: rubberbanding

19342040 (2019-03-04)

  • (o0shojo0o) replace umlauts
  • (o0shojo0o) add support for "Pixel Bitmap Creator" Live Preview (beta)

19331810 (2019-03-03)

  • (o0shojo0o) Bugfixes MQTT was always enabled
  • (o0shojo0o) add MQTT user & password
  • (o0shojo0o) add "Text-Color" for internal Clock
  • (o0shojo0o) add autoreboot after save config

19331112 (2019-03-03)

  • (o0shojo0o) add option to set Matrix Type at runtime (need reboot)

192272344 (2019-02-27)

  • (o0shojo0o) add MQTT Support
  • (o0shojo0o) add animated 8x8 icons (max. 6 frames)

Disclaimer

* This link and some others in the documentation are affiliate links. We would be happy if you use this link, but of course you don't have to.

pixelit's People

Contributors

d4rkd3v1l avatar dependabot[bot] avatar flolant avatar fmunozs avatar foorschtbar avatar github-actions[bot] avatar hamster65 avatar hermannbach avatar jekader avatar metaln00b avatar miccgn avatar o0shojo0o avatar pplucky avatar rliegmann avatar rozza-m avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pixelit's Issues

animated bitmaps seem broken from node-red function

Hi there, when I use the animated bitmap below (which is of the home assistant logo), from inside the test area, it displays perfectly.

When I try it using the pixel it bitmap animation node, it seems to display fine.

When I try it from Node-RED function it animates about 100 times faster and it looks bad. In one case it crashed the esp8266 and it rebooted.

Any thoughts why this would happen?


Here's my node-red flow:

image

[{"id":"9da473733177f0a1","type":"inject","z":"e6d349d60ead1d22","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":880,"y":40,"wires":[["bad72ede352e916e"]]},{"id":"f799b03df876cf50","type":"Bitmap Animation","z":"e6d349d60ead1d22","name":"Bitmap Animation","indata":"[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,1374,65535,65535,65535,65535,1374,65535,65535,65535,1374,1374,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,1374,65535,65535,1374,65535,65535,65535,1374,65535,65535,65535,65535,1374,65535,1374,65535,1374,1374,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,1374,65535,65535,1374,1374,1374,65535,65535,65535,1374,65535,65535,1374,65535,1374,65535,1374,65535,65535,1374,65535,1374,65535,1374,65535,1374,1374,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374]","inanimationDelay":"100","inrubberbanding":"false","inlimitLoops":"0","x":1110,"y":40,"wires":[[]]},{"id":"bad72ede352e916e","type":"function","z":"e6d349d60ead1d22","name":"icon set?","func":"msg.bitmapAnimation = {};\nmsg.bitmapAnimation.data = \"[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,1374,65535,65535,65535,65535,1374,65535,65535,65535,1374,1374,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,1374,65535,65535,1374,65535,65535,65535,1374,65535,65535,65535,65535,1374,65535,1374,65535,1374,1374,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,1374,65535,65535,1374,1374,1374,65535,65535,65535,1374,65535,65535,1374,65535,1374,65535,1374,65535,65535,1374,65535,1374,65535,1374,65535,1374,1374,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374]\";\n \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1300,"y":60,"wires":[["37ec99d6492f2d4b"]]},{"id":"37ec99d6492f2d4b","type":"Screen Init","z":"e6d349d60ead1d22","name":"Screen Init","inscreenName":"test","induration":"10","x":1470,"y":40,"wires":[["212df7a3bec392af"]]},{"id":"212df7a3bec392af","type":"Switch Animation","z":"e6d349d60ead1d22","name":"Switch Animation","aktiv":"false","animation":"fade","x":1650,"y":40,"wires":[["9ce538627d4e60b8"]]},{"id":"9ce538627d4e60b8","type":"Text","z":"e6d349d60ead1d22","name":"Text","intextString":"TESTING BITMAP","inbigFont":"false","inscrollText":"true","inscrollTextDelay":"0","incenterText":"false","inposX":"8","inposY":"1","incolorR":"255","incolorG":"255","incolorB":"255","x":1810,"y":40,"wires":[["2ae8103e.2bfa8"]]},{"id":"2ae8103e.2bfa8","type":"Alert Screen","z":"e6d349d60ead1d22","name":"Alert Screen","x":1570,"y":280,"wires":[["35ecb3fe.70a82c","b3601a19c326a8d6"]]},{"id":"b3601a19c326a8d6","type":"Core","z":"e6d349d60ead1d22","name":"Pixelit Large Core","ip":"192.168.0.159","masterTopic":"","x":1850,"y":320,"wires":[[]]}]

The bitmap itself:

[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,65535,65535,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,65535,65535,65535,1374,65535,65535,65535,1374,65535,65535,65535,65535,1374,65535,65535,65535,1374,1374,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,65535,65535,65535,1374,1374,1374,65535,65535,65535,1374,65535,65535,1374,65535,65535,65535,1374,65535,65535,65535,65535,1374,65535,1374,65535,1374,1374,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374],[1374,1374,1374,65535,65535,1374,1374,1374,1374,1374,65535,1374,65535,65535,1374,1374,1374,65535,65535,65535,1374,65535,65535,1374,65535,1374,65535,1374,65535,65535,1374,65535,1374,65535,1374,65535,1374,1374,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374,1374,65535,65535,1374,65535,65535,65535,1374,1374,65535,65535,65535,1374,65535,65535,1374]

Feature Request: Hostname

It would be great if it possible to configure a hostname.

  • DHCP server displays a hostname instead of the self-generated hostname of the ESP
  • Dashboard and title could use it. Greate if you have multiple PixelIts :)
// In setup
WiFi.mode(WIFI_STA);
if (strcmp(cfg.hostname, "") != 0)
{
    WiFi.hostname(cfg.hostname);
}
WiFi.begin(cfg.wifi_ssid, cfg.wifi_psk);
[...]

// MDNS responder
if (MDNS.begin(cfg.hostname))
{
    Serial.println(F("MDNS responder started"));
}
[...]

Save config button greyed out ESP01

Hi;
Im not so sure if this is the correct spot to post my issue, and if not please advise and i will repost. Im using ESP01 which is based on the 8266. The firmware loaded successfully but i cant seem to save any configuration. Could it be that this firmware file i used doesnt work with ESP01 ? ( I faced a similar issue with WLED untill i loaded the correct .bin )
Any help is greatly appreciated

Capture3

feature request: updates to internal clock

Hi, looking to see if a couple of updates can be added to the internal clock?

I'm in USA, so our locale is a bit different than what's default.

  1. Can an option be added to adjust date format? Like MM/DD instead of DD.MM.?
  2. We start our week on Sunday. Can an option be added to have a toggle to start week on Sunday?

Thanks!

Auto fall back to the date/time display?

Discussed in https://github.com/o0shojo0o/PixelIt/discussions/54

Originally posted by o0shojo0o June 16, 2021
Meine Überlegung ist das man sagen könnte das wenn nach einer konfigurierten zeit kein neuer Screen an der PixelIt ankommt das diesen dann wieder auf die Datum/Uhrzeit Anzeige zurückspringt.
Ich selbst brauche diese Funktion nicht, daher die Frage an Euch, braucht man das?


My thought is that you could say that if after a configured time no new screen arrives at the PixelIt that this then jumps back to the date / time display.
I myself do not need this function, so the question to you, does one need that?

Wrong Color

Hi, I have configurate an wemos d1 mini with an 8x32matrix.
It works nice, but the colors don’t match. If I make orange oder Brown, it shows me red or nothing.
I also tested the bitmaps in the library, same error. Also testet in options all possible configs without success.

Auto-Brightness overrides Sleep-Mode

Discussed in https://github.com/o0shojo0o/PixelIt/discussions/82

Originally posted by PricelessToolkit October 31, 2021
I want to say a huge thank you for the project!!. I even made a short video about PixelIT
https://youtu.be/Tpol4iNq4xo
But in my opinion, there is an issue when I turn off/on the light in the room, the display turns on and shows the date and time and remains turned on all night. I use auto-brightness and sleep mode (OFF 24:00-14:00) (ON 14:00-24:00).
Please give me advice, where to look
Thanks

2 pieces of 8*32

hi - I like your project - I'm using iobroker

my question: is it somehow possible to add a second matrix in a row and controll it with your software - so we could use 8*64

thanx

Web dashboard not loading

I can seem to load the webui from safari or Firefox on MacOS, the only way to load it is from Edge on Windows 11.
I do have 1Blocker and tried to disable it and reload the UI
Errors on Safari:
Cross-origin script load denied by Cross-Origin Resource Sharing policy.
1Blocker | JXH – "Not found corresponding domains for hostname "pixelit.local""
error
(anonymous function) — Script Element 6:1:2956
asyncFunctionResume
(anonymous function)
promiseReactionJobWithoutPromise
promiseReactionJob
Script Element 6:1:2421

Jumping LDR readings

Duplicating QuentinCG/Arduino-Light-Dependent-Resistor-Library#7 (comment) - it could be solved there or here, waiting for the library's author to decide:

when I built a device with a display that was expected to adapt to ambient lighting, I noticed the readings of my GL5528 jumping around as soon as ceiling lighting was powered on. This lighting consists of LEDs controlled by phase-cut dimmers.

It seems that the LDR, which has a top speed of 20ms (==50 readings per second) was sensitive to this kind of dimmers. There hadn't been any "jumping values" with classic halogene bulbs.

So I was wondering whether it would be a good idea to implement some kind of smoothing within the library, offering a parameter specifiying the number of past readings to be used for smoothing?

Save config is not working for ESP32

The Saveconfigs is not working on ESP32

image

Version:

Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 34:ab:95:fb:9d:8c
/#/:1 Uncaught SyntaxError: Unexpected token } in JSON at position 10
    at JSON.parse (<anonymous>)
    at t.value (build.js:1)
    at t.value (build.js:1)
    at WebSocket.forEach.t.WebSocket.<computed> (build.js:1)

Issues starting with es32 d1 mini - Wifimanager

Issues starting wifimanager on esp32 device

*wm:[1] AutoConnect 
*wm:[2] ESP32 event handler enabled 
*wm:[2] Connecting as wifi client... 
*wm:[2] setSTAConfig static ip not set, skipping 
*wm:[1] No wifi saved, skipping 
*wm:[2] Connection result: WL_NO_SSID_AVAIL
*wm:[1] AutoConnect: FAILED 
*wm:[2] Starting Config Portal 
*wm:[2] Disabling STA 
*wm:[2] Enabling AP 
*wm:[1] StartAP with SSID:  PIXEL_IT
*wm:[2] AP has anonymous access! 
[  9678][E][WiFiGeneric.cpp:983] mode(): Could not set mode! 12289
[  9684][E][WiFiAP.cpp:118] softAP(): enable AP first!
*wm:[0] [ERROR] There was a problem starting the AP 
*wm:[1] AP IP address:
[1970-01-01T00:00:10] Hotspot: Waiting for WiFi configuration
*wm:[1] Starting Web Portal 
*wm:[2] HTTP server started 
*wm:[2] Config Portal Running, blocking, waiting for clients... 
*wm:[2] Portal Timeout In 180 seconds
*wm:[2] Portal Timeout In 159 seconds

Version:

Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 34:ab:95:fb:9d:8c

image

More options for Matrix Type

I had to turn my LED matices by 90°. Therefore I have to manually compile every release and can't use the prebuilt binaries. It would be nice to have more options for the LED orientation. This could for example be a advanced option, where the user can enter the FastLED orientation options.

text position is ignored with bitmaps wider than 8 Pixel

text position is ignored with bitmaps wider than 8 Pixel
Scrolling makes it even worse.

See my sample json:
{ "text": { "textString": "long text", "scrollText": "auto", "position": { "x": 15, "y": 1 }, "hexColor": "#FFFFFF" }, "bitmap": { "position": { "x": 0, "y": 0 }, "size": { "width": 14, "height": 8 }, "data": [ 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 51461, 51461, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 7063, 7063, 17289, 17289, 51461, 17289, 7063, 7063, 7063, 7063, 7063, 17289, 17289, 17289, 7063, 7063, 17289, 51461, 51461, 51461, 7063, 17289, 7063, 7063, 7063, 17289, 17289, 17289, 7063, 7063, 7063, 17289, 51461, 17289, 17289, 17289, 17289, 7063, 7063, 7063, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289, 17289 ] } }

BUG: Webinterface not loading on Safari

I'm encountering an issue where the PixelIT web interface does not load on Safari (iPad or Mac). Clearing the cache helps fixing the issue temporarily. When I checked the console I found this:

Bildschirmfoto 2022-01-26 um 07 33 17

Other browsers like chrome do not encounter this problem. I'm running he lasted FW 0.3.16

12H / 24H time

Hi All, a switch to change between 12h / 24h time would be amazing.

Wrong DST

My PixelIts have decided: it's summertime!
I checked: the DSToffset() routine in Tools.h indeed says: yes, it is DST!
Seems like the formula is wrong.

Quickfix: disable DST in Options.

Temperature/Humidity stopped working after update to 0.3.6

Hi,
since release 0.3.6 when support for BME280 was added, my sensor AM2320 returns "not installed" most of the time.

I tried to figure out what is wrong and discovered that it works after I reset the ESP (for example by klicking "save config" in the webinterface). It does not work after a power cycle.

Maybe a delay is needed after power up before initialization / detection? I guess the DHT22 does not need that delay which is why no one else seems to be having that issue :)

Feature request: transform LUX scale to become linear with humane perception for auto brightness feature

I just try to get the auto brightness feature up and running in a meaningful way, however I struggle to fine-tune the upper and lower limits in lux. My understanding is that LUX scales on a logarithmic scale and hence its super hard too find a meaningful interval in which the brightness of the PixelIT can be interpolated.

My proposal would be to stick with exposing the raw data via MQTT but transform the raw lux value as described in this Microsoft article for the auto brightness logic in the GUI

https://docs.microsoft.com/en-us/windows/win32/sensorsapi/understanding-and-interpreting-lux-values

Auto brightness bug

Hi,

I think there is a bug in the brightness regulation, probabliy an overflow or something. It happens when you set max brightness to a low value (400) but the measured brightness is higher (850).
In this case, brightness jumps around and up to high values of 230, for example.

[2021-09-02T13:38:11] Auto Brightness: Lux: 1028.80 set brightness to 227
[2021-09-02T13:38:12] Auto Brightness: Lux: 921.70 set brightness to 204
[2021-09-02T13:38:14] Auto Brightness: Lux: 989.84 set brightness to 219
[2021-09-02T13:38:15] Auto Brightness: Lux: 956.42 set brightness to 212

Combine centerText with scrollText=auto

It would be a nice enhancement if I could specify both "centerText=true" and "scrollText=auto".

Expected behaviour:

  • if text fits into display: center it, no scrolling
  • if text does not fit into display: ignore centering, start scrolling

Difference to now is that text that fits will be centered, not adjusted left.

I have some ideas how to do this, but this requires redesign of all the DrawText... functions.

BUG: Bootloop on Auto brightness "to lux" values lower than 1

Hi,

I'm playing with my PixelIT trying to get the Autorbrightness feature up an running. I found that if I set a value lower than 1 as "to lux" (e.g. 0,5) it makes the ESP go into a boot loop. The only way to recover is a clean flash and then re-flashing with the PixelIT firmware. The issue is fully reproducible on my system.

Ability to use strips

image

I would like the ability to be able to use strips. I have a bunch of strips and don't really want to have to buy a matrix display when I can just turn my strips into a display like in the image shown.

UTC offset wrong time

I'm on Bogota (UTC -5) but when I pick -5 on the offset , the clock says it's 13:21 while the time is 12:21

image

BUG: weekday is not lighting if week is starting with monday

if option "Monday as start of the week" is set then no weekday is lighting at bottom.
today it's sunday, maybe only on sunday?
if i disable the option then the first weekday is lighting...
will have a look tomorrow, my clock is newly built, therefore i don't know if it's showing right on other weekdays.

Feature Request: MQTT reconnect

It would be nice if PixelIt would try to reconnect when the connection to the broker is lost. Right now it stops reconnecting after 3 attempts with 5s delay. Too short for a restart of a broker or WiFi AccessPoint.

Mobile app using API REST

I was thinking to create a mobile app that will hit API REST methods and to present text entrance, emoji picking and color wheel something like that.
Is it a doable with REST API? Thanks

Garbled text problem scrollText

When using the test functionality I see garbled text sometimes on the matrix when trying to draw some short text (when no scrolling is needed). This happens with the default test, which sets the scrollText to auto.

connection.send('{"text":{"textString":"hello","scrollText":"auto","scrollTextDelay":45,"bigFont":false,"centerText":false,"position":{"x":0,"y":1},"color":{"r":255,"g":255,"b":255}}}')
if I switch scrollText to false, it always works fine.
connection.send('{"text":{"textString":"hello","scrollText":"false","scrollTextDelay":45,"bigFont":false,"centerText":false,"position":{"x":0,"y":1},"color":{"r":255,"g":255,"b":255}}}')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.