sblantipodi / glow_worm_luciferin

Bias Lighting and Ambient Light firmware, designed for Firefly Luciferin.
GNU General Public License v3.0
158 stars 19 forks source link

[Bug]: GPIO change via web interface is not working #32

Closed kopidoo closed 2 years ago

kopidoo commented 2 years ago

Firefly Luciferin version

2.3.1

Glow Worm Luciferin version

5.3.1

Firmware type

FULL

What is the stream method?

MQTT Stream

Fiefly Luciferin config file

---
numberOfCPUThreads: 1
captureMethod: "DDUPL"
serialPort: "Luciferin teszt"
baudRate: "921600"
defaultLedMatrix: "FullScreen"
autoDetectBlackBars: true
topLed: 9
leftLed: 0
rightLed: 0
bottomLeftLed: 4
bottomRightLed: 4
bottomRowLed: 0
orientation: "Clockwise"
timeout: 100
screenResX: 1920
screenResY: 1080
osScaling: 100
gamma: 2.0
whiteTemperature: 20
wifiEnable: true
mqttServer: "tcp://192.168.0.227:1883"
mqttTopic: "glowwormluciferin"
mqttUsername: ""
mqttPwd: ""
mqttEnable: false
mqttStream: true
streamType: "UDP stream"
checkForUpdates: true
eyeCare: false
nightModeFrom: "22:00"
nightModeTo: "08:00"
nightModeBrightness: "10%"
toggleLed: true
desiredFramerate: "60"
colorChooser: "255,255,255,255"
brightness: 255
ledStartOffset: 0
splitBottomRow: false
startWithSystem: false
multiMonitor: 1
monitorNumber: 0
syncCheck: true
effect: "Bias light"
audioLoopbackGain: 0.0
audioDevice: "Default audio output (Native)"
audioChannels: "2 channels"
multiScreenSingleDevice: false
powerSaving: "Disabled"
theme: "Dark theme"
ledMatrix:
  FullScreen:
    1:
      x: 1707
      "y": 8
      dimension: 203
    2:
      x: 1494
      "y": 8
      dimension: 203
    3:
      x: 1281
      "y": 8
      dimension: 203
    4:
      x: 1068
      "y": 8
      dimension: 203
    5:
      x: 855
      "y": 8
      dimension: 203
    6:
      x: 642
      "y": 8
      dimension: 203
    7:
      x: 429
      "y": 8
      dimension: 203
    8:
      x: 216
      "y": 8
      dimension: 203
    9:
      x: 3
      "y": 8
      dimension: 203
  Letterbox:
    1:
      x: 1707
      "y": 126
      dimension: 203
    2:
      x: 1494
      "y": 126
      dimension: 203
    3:
      x: 1281
      "y": 126
      dimension: 203
    4:
      x: 1068
      "y": 126
      dimension: 203
    5:
      x: 855
      "y": 126
      dimension: 203
    6:
      x: 642
      "y": 126
      dimension: 203
    7:
      x: 429
      "y": 126
      dimension: 203
    8:
      x: 216
      "y": 126
      dimension: 203
    9:
      x: 3
      "y": 126
      dimension: 203
  Pillarbox:
    1:
      x: 1443
      "y": 62
      dimension: 127
    2:
      x: 1306
      "y": 62
      dimension: 127
    3:
      x: 1169
      "y": 62
      dimension: 127
    4:
      x: 1032
      "y": 62
      dimension: 127
    5:
      x: 895
      "y": 62
      dimension: 127
    6:
      x: 758
      "y": 62
      dimension: 127
    7:
      x: 621
      "y": 62
      dimension: 127
    8:
      x: 484
      "y": 62
      dimension: 127
    9:
      x: 347
      "y": 62
      dimension: 127
extendedLog: false
configVersion: "2.3.1"

Relevant log output

[Instance #1] 2022-02-24 17:18:56,689 DEBUG org.dpsoftware.JavaFXStarter [main] Starting default instance
[Instance #1] 2022-02-24 17:18:57,120 INFO org.dpsoftware.managers.StorageManager [JavaFX Application Thread] C:\Users\tamas\Documents\FireflyLuciferin already exists
[Instance #1] 2022-02-24 17:18:57,174 INFO org.dpsoftware.managers.StorageManager [JavaFX Application Thread] Configuration OK.
[Instance #1] 2022-02-24 17:18:57,317 INFO org.dpsoftware.grabber.ImageProcessor [JavaFX Application Thread] GStreamer path in use=C:/Users/tamas/AppData/Local/Firefly Luciferin/app/classes
[Instance #1] 2022-02-24 17:18:57,393 DEBUG org.dpsoftware.FireflyLuciferin [JavaFX Application Thread] MQTT disabled.
[Instance #1] 2022-02-24 17:18:57,399 DEBUG org.dpsoftware.network.tcpUdp.UdpServer [JavaFX Application Thread] Local IP= 192.168.0.144
[Instance #1] 2022-02-24 17:18:57,412 DEBUG org.dpsoftware.network.tcpUdp.UdpServer [JavaFX Application Thread] Network adapter in use=Realtek PCIe GbE Family Controller
[Instance #1] 2022-02-24 17:18:57,413 DEBUG org.dpsoftware.network.tcpUdp.UdpServer [JavaFX Application Thread] Broadcast address found=/192.168.0.255
[Instance #1] 2022-02-24 17:18:57,434 INFO org.dpsoftware.managers.StorageManager [JavaFX Application Thread] C:\Users\tamas\Documents\FireflyLuciferin already exists
[Instance #1] 2022-02-24 17:18:57,568 DEBUG org.dpsoftware.managers.UpgradeManager [JavaFX Application Thread] Checking for Firefly Luciferin Update
[Instance #1] 2022-02-24 17:18:58,952 DEBUG org.dpsoftware.managers.PipelineManager [pool-11-thread-1] Waiting device for my instance...
[Instance #1] 2022-02-24 17:18:59,409 INFO org.dpsoftware.managers.StorageManager [JavaFX Application Thread] C:\Users\tamas\Documents\FireflyLuciferin already exists
[Instance #1] 2022-02-24 17:18:59,416 INFO org.dpsoftware.managers.StorageManager [JavaFX Application Thread] Configuration OK.
[Instance #1] 2022-02-24 17:18:59,667 INFO org.dpsoftware.managers.StorageManager [JavaFX Application Thread] C:\Users\tamas\Documents\FireflyLuciferin already exists
[Instance #1] 2022-02-24 17:18:59,670 DEBUG org.dpsoftware.managers.DisplayManager [JavaFX Application Thread] Native HMONITOR peer: 65537 -> Generic PnP Monitor                                                                                                             
[Instance #1] 2022-02-24 17:18:59,674 DEBUG org.dpsoftware.managers.DisplayManager [JavaFX Application Thread] Width: 1920.0 Height: 1080.0 Scaling: 1.0 MinX: 0.0 MinY: 0.0
[Instance #1] 2022-02-24 17:18:59,681 INFO org.dpsoftware.managers.StorageManager [JavaFX Application Thread] Configuration OK.
[Instance #1] 2022-02-24 17:18:59,950 DEBUG org.dpsoftware.managers.PipelineManager [pool-11-thread-1] Waiting device for my instance...
[Instance #1] 2022-02-24 17:19:00,950 DEBUG org.dpsoftware.managers.PipelineManager [pool-11-thread-1] Waiting device for my instance...
[Instance #1] 2022-02-24 17:19:01,950 DEBUG org.dpsoftware.managers.PipelineManager [pool-11-thread-1] Waiting device for my instance...
[Instance #1] 2022-02-24 17:19:02,950 DEBUG org.dpsoftware.managers.PipelineManager [pool-11-thread-1] Waiting device for my instance...
[Instance #1] 2022-02-24 17:19:03,950 DEBUG org.dpsoftware.managers.PipelineManager [pool-11-thread-1] Waiting device for my instance...
[Instance #1] 2022-02-24 17:19:04,950 DEBUG org.dpsoftware.managers.PipelineManager [pool-11-thread-1] Waiting device for my instance...
[Instance #1] 2022-02-24 17:19:05,950 DEBUG org.dpsoftware.managers.PipelineManager [pool-11-thread-1] Waiting device for my instance...
[Instance #1] 2022-02-24 17:19:06,950 DEBUG org.dpsoftware.managers.PipelineManager [pool-11-thread-1] Waiting device for my instance...
[Instance #1] 2022-02-24 17:19:08,392 DEBUG org.dpsoftware.FireflyLuciferin [pool-3-thread-2] Starting a new pipeline
[Instance #1] 2022-02-24 17:19:12,946 DEBUG org.dpsoftware.managers.UpgradeManager [pool-6-thread-1] Checking for Glow Worm Luciferin Update
[Instance #1] 2022-02-24 17:19:14,521 DEBUG org.dpsoftware.gui.controllers.DevicesTabController [JavaFX Application Thread] Setting GPIO2 on Luciferin teszt
[Instance #1] 2022-02-24 17:19:28,047 DEBUG org.dpsoftware.gui.GUIManager [AWT-EventQueue-0] CLEAN EXIT

How to reproduce

I think the config and log are not relevant.

Go to glow worm web interface with and change the GPIO. After save and restart it remains as before. Changing vie firefly it works OK.

sblantipodi commented 2 years ago

@kopidoo are you sure that it doesn't work? try to clean the cache of your browser...

I can't reproduce the issue.

kopidoo commented 2 years ago

@sblantipodi it works now. Itwas propably the cache.