Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restore configuration issue (on dig octa) #750

Closed
marcobrianza opened this issue Mar 11, 2024 · 18 comments
Closed

restore configuration issue (on dig octa) #750

marcobrianza opened this issue Mar 11, 2024 · 18 comments
Assignees
Labels

Comments

@marcobrianza
Copy link

ESPixelStick Firmware Version
4.0-ci8237205806

Hardware Version
dig octa

Binary release or compiled yourself?
ci release

Describe the bug
restoring the configuration produces an error and parameters are not applied
I saved this file

bubbleid-4C7F5A1B5AE0-network.json

applied a factory reset

loading the file produces this log:

19:34:51.164 -> [FileMgr] Configuration File: '/config.json' saved 1436 bytes.
19:34:51.209 -> [FileMgr] Configuration File: '/config.json' saved 1436 bytes.
19:34:51.307 -> [FileMgr] Configuration File: '/config.json' saved 1436 bytes.
19:34:51.383 -> [FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
19:34:51.489 -> [FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
19:34:51.526 -> [FileMgr] Configuration File: '/config.json' saved 1436 bytes.
19:34:51.636 -> [FileMgr] Configuration File: '/config.json' saved 1436 bytes.
19:34:51.781 -> [FileMgr] Configuration File: '/config.json' saved 1436 bytes.
19:34:51.890 -> [FileMgr] Configuration File: '/config.json' saved 1436 bytes.
19:34:51.997 -> [FileMgr] Configuration File: '/input_config.json' saved 979 bytes.
19:34:52.182 -> [FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
19:34:52.691 -> [FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
19:34:52.764 -> [FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
19:34:52.876 -> [FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
19:34:52.947 -> [FileMgr] Configuration File: '/config.json' saved 1436 bytes.
19:34:52.981 -> [FileMgr] Configuration File: '/input_config.json' saved 1010 bytes.
19:34:53.095 -> [FileMgr] Configuration File: '/config.json' saved 1436 bytes.
19:34:53.164 -> [FileMgr] Configuration File: '/config.json' saved 1343 bytes.
19:34:53.273 -> [FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
19:34:53.349 -> [FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
19:34:53.562 -> [FileMgr] Configuration File: '/output_config.json' saved 143 bytes.
19:34:57.327 -> [FileMgr] Configuration File: '/input_config.json' loaded.
19:34:57.690 -> [FileMgr] Configuration File: '/config.json' loaded.
19:34:57.690 -> [ ESP] Missing Config Version ID
19:34:57.690 -> [ ESP] No device settings found.
19:34:57.728 -> [FileMgr] No File Manager settings found.
19:34:57.728 -> [NetworkMgr] No network config found. Use default settings
19:34:57.799 -> [FileMgr] Configuration File: '/config.json' saved 634 bytes.
19:34:58.503 -> [FileMgr] Configuration File: '/output_config.json' loaded.

@MartinMueller2003 MartinMueller2003 self-assigned this Mar 11, 2024
@MartinMueller2003
Copy link
Collaborator

Been a while since I was in this area. I will take a look.

@MartinMueller2003
Copy link
Collaborator

Confirmed

@MartinMueller2003
Copy link
Collaborator

fixed in #749

@MartinMueller2003
Copy link
Collaborator

Also made an attempt to merge the new and old config to create fields for features that may have been added since the backup was made.

@marcobrianza
Copy link
Author

Hi I was testing the save restore feature from scratch with the latest CI and found some issues.
The network settings look ok but the "Device Setup" is not, looking in the saved config I think it might be an issue in the backup function.

@MartinMueller2003
Copy link
Collaborator

I just did a save and the device config is certainly there. Keep in mind that the data in the config file does NOT strictly follow the layout you find on the UI. Fields are located to make the code work better, not make it easy on humans.
{
"system": {
"cfgver": 1,
"device": {
"id": "ESPixelStick",
"blanktime": 5,
"miso_pin": 36,
"mosi_pin": 15,
"clock_pin": 14,
"cs_pin": 16
},
"network": {
"hostname": "esps-502F3FEF49C0",
"wifi": {
"ssid": "",
"passphrase": "",
"ap_ssid": "ESPixelStick-AP-esps-502F3FEF49C0",
"ap_passphrase": "",
"ip": "0.0.0.0",
"netmask": "0.0.0.0",
"gateway": "0.0.0.0",
"StayInApMode": false,
"dhcp": true,
"sta_timeout": 15,
"ap_channel": 1,
"ap_fallback": true,
"ap_timeout": 120,
"ap_reboot": false
},
"weus": true,
"eth": {
"ip": "192.168.10.223",
"netmask": "255.255.255.0",
"gateway": "192.168.10.1",
"dhcp": false,
"type": 0,
"addr": 0,
"power_pin": -1,
"mode": 3,
"mdc_pin": 23,
"mdio_pin": 18,
"activevalue": false,
"activedelay": 1000
}
}
},
"input": {
"cfgver": 1,
"ecb": {
"enabled": false,
"name": "Effects Control",
"id": 0,
"polarity": "ActiveLow",
"channels": 32,
"long": 2000
},
"channels": {
"0": {
"0": {
"type": "E1.31",
"universe": 1,
"universe_limit": 512,
"universe_start": 1,
"port": 5568
},
"4": {
"type": "DDP"
},
"6": {
"type": "Artnet",
"universe": 1,
"universe_limit": 512,
"universe_start": 1
},
"7": {
"type": "Disabled"
},
"type": 7
},
"1": {
"1": {
"type": "Effects",
"currenteffect": "Solid",
"EffectSpeed": 6,
"EffectReverse": false,
"EffectMirror": false,
"EffectAllLeds": false,
"EffectBrightness": 100,
"EffectWhiteChannel": false,
"EffectColor": "#b700ff",
"pixel_count": 1,
"FlashEnable": false,
"FlashMinInt": 100,
"FlashMaxInt": 100,
"FlashMinDelay": 100,
"FlashMaxDelay": 5000,
"FlashMinDur": 25,
"FlashMaxDur": 50,
"effects": [
{
"name": "Solid"
},
{
"name": "Blink"
},
{
"name": "Flash"
},
{
"name": "Rainbow"
},
{
"name": "Chase"
},
{
"name": "Fire flicker"
},
{
"name": "Lightning"
},
{
"name": "Breathe"
},
{
"name": "Random"
},
{
"name": "Transition"
},
{
"name": "Marquee"
}
],
"transitions": [
{
"r": 85,
"g": 85,
"b": 85
},
{
"r": 128,
"g": 128,
"b": 0
},
{
"r": 128,
"g": 0,
"b": 128
},
{
"r": 0,
"g": 128,
"b": 128
},
{
"r": 28,
"g": 128,
"b": 100
},
{
"r": 128,
"g": 100,
"b": 28
},
{
"r": 100,
"g": 28,
"b": 128
},
{
"r": 40,
"g": 175,
"b": 40
},
{
"r": 175,
"g": 40,
"b": 40
},
{
"r": 40,
"g": 40,
"b": 175
},
{
"r": 191,
"g": 64,
"b": 0
},
{
"r": 64,
"g": 0,
"b": 191
},
{
"r": 0,
"g": 191,
"b": 64
},
{
"r": 128,
"g": 64,
"b": 64
},
{
"r": 64,
"g": 128,
"b": 64
},
{
"r": 64,
"g": 64,
"b": 128
},
{
"r": 80,
"g": 144,
"b": 32
},
{
"r": 144,
"g": 32,
"b": 80
},
{
"r": 32,
"g": 80,
"b": 144
},
{
"r": 100,
"g": 100,
"b": 55
},
{
"r": 55,
"g": 100,
"b": 100
},
{
"r": 100,
"g": 100,
"b": 55
}
],
"MarqueeGroups": [
{
"color": {
"r": 255,
"g": 0,
"b": 0
},
"brightness": 100,
"pixel_count": 5,
"brightnessEnd": 100
},
{
"color": {
"r": 255,
"g": 255,
"b": 255
},
"brightness": 100,
"pixel_count": 5,
"brightnessEnd": 0
}
]
},
"2": {
"type": "MQTT",
"user": "",
"password": "",
"topic": "forkineye/",
"clean": false,
"hadisco": true,
"haprefix": "homeassistant",
"effects": true,
"play": true
},
"3": {
"type": "Alexa"
},
"5": {
"type": "FPP Remote",
"fseqfilename": "...",
"SyncOffset": 0,
"SendFppSync": false,
"blankOnStop": false
},
"7": {
"type": "Disabled"
},
"type": 7
}
}
},
"output": {
"cfgver": 1,
"MaxChannels": 9000,
"channels": {
"0": {
"0": {
"type": "Disabled"
},
"1": {
"type": "WS2811",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 0
},
"2": {
"type": "GECE",
"color_order": "rgb",
"pixel_count": 63,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 0
},
"8": {
"type": "UCS1903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 25,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 0
},
"9": {
"type": "TM1814",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 500,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 0,
"currentlimit": 50
},
"12": {
"type": "GS8208",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 0
},
"13": {
"type": "UCS8903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 30,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 0
},
"type": 0
},
"1": {
"0": {
"type": "Disabled"
},
"1": {
"type": "WS2811",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 1
},
"2": {
"type": "GECE",
"color_order": "rgb",
"pixel_count": 63,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 1
},
"8": {
"type": "UCS1903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 25,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 1
},
"9": {
"type": "TM1814",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 500,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 1,
"currentlimit": 50
},
"12": {
"type": "GS8208",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 1
},
"13": {
"type": "UCS8903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 30,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 1
},
"type": 0
},
"2": {
"0": {
"type": "Disabled"
},
"1": {
"type": "WS2811",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 2
},
"2": {
"type": "GECE",
"color_order": "rgb",
"pixel_count": 63,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 2
},
"8": {
"type": "UCS1903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 25,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 2
},
"9": {
"type": "TM1814",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 500,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 2,
"currentlimit": 50
},
"12": {
"type": "GS8208",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 2
},
"13": {
"type": "UCS8903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 30,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 2
},
"type": 0
},
"3": {
"0": {
"type": "Disabled"
},
"1": {
"type": "WS2811",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 3
},
"2": {
"type": "GECE",
"color_order": "rgb",
"pixel_count": 63,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 3
},
"8": {
"type": "UCS1903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 25,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 3
},
"9": {
"type": "TM1814",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 500,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 3,
"currentlimit": 50
},
"12": {
"type": "GS8208",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 3
},
"13": {
"type": "UCS8903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 30,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 3
},
"type": 0
},
"4": {
"0": {
"type": "Disabled"
},
"1": {
"type": "WS2811",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 4
},
"2": {
"type": "GECE",
"color_order": "rgb",
"pixel_count": 63,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 4
},
"8": {
"type": "UCS1903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 25,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 4
},
"9": {
"type": "TM1814",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 500,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 4,
"currentlimit": 50
},
"12": {
"type": "GS8208",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 4
},
"13": {
"type": "UCS8903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 30,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 4
},
"type": 0
},
"5": {
"0": {
"type": "Disabled"
},
"1": {
"type": "WS2811",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 5
},
"2": {
"type": "GECE",
"color_order": "rgb",
"pixel_count": 63,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 5
},
"8": {
"type": "UCS1903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 25,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 5
},
"9": {
"type": "TM1814",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 500,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 5,
"currentlimit": 50
},
"12": {
"type": "GS8208",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 5
},
"13": {
"type": "UCS8903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 30,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 5
},
"type": 0
},
"6": {
"0": {
"type": "Disabled"
},
"1": {
"type": "WS2811",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 12
},
"2": {
"type": "GECE",
"color_order": "rgb",
"pixel_count": 63,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 12
},
"8": {
"type": "UCS1903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 25,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 12
},
"9": {
"type": "TM1814",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 500,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 12,
"currentlimit": 50
},
"12": {
"type": "GS8208",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 12
},
"13": {
"type": "UCS8903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 30,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 12
},
"type": 0
},
"7": {
"0": {
"type": "Disabled"
},
"1": {
"type": "WS2811",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 13
},
"2": {
"type": "GECE",
"color_order": "rgb",
"pixel_count": 63,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 13
},
"8": {
"type": "UCS1903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 25,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 13
},
"9": {
"type": "TM1814",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 500,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 13,
"currentlimit": 50
},
"12": {
"type": "GS8208",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 300,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 13
},
"13": {
"type": "UCS8903",
"color_order": "rgb",
"pixel_count": 100,
"group_size": 1,
"zig_size": 1,
"gamma": 1,
"brightness": 100,
"interframetime": 30,
"prependnullcount": 0,
"appendnullcount": 0,
"data_pin": 13
},
"type": 0
},
"8": {
"0": {
"type": "Disabled"
},
"6": {
"type": "Relay",
"updateinterval": 0,
"channels": [
{
"id": 0,
"en": false,
"inv": true,
"pwm": false,
"trig": 128,
"gid": -1,
"Frequency": 12000
},
{
"id": 1,
"en": false,
"inv": true,
"pwm": false,
"trig": 128,
"gid": -1,
"Frequency": 12000
},
{
"id": 2,
"en": false,
"inv": true,
"pwm": false,
"trig": 128,
"gid": -1,
"Frequency": 12000
},
{
"id": 3,
"en": false,
"inv": true,
"pwm": false,
"trig": 128,
"gid": -1,
"Frequency": 12000
},
{
"id": 4,
"en": false,
"inv": true,
"pwm": false,
"trig": 128,
"gid": -1,
"Frequency": 12000
},
{
"id": 5,
"en": false,
"inv": true,
"pwm": false,
"trig": 128,
"gid": -1,
"Frequency": 12000
},
{
"id": 6,
"en": false,
"inv": true,
"pwm": false,
"trig": 128,
"gid": -1,
"Frequency": 12000
},
{
"id": 7,
"en": false,
"inv": true,
"pwm": false,
"trig": 128,
"gid": -1,
"Frequency": 12000
}
]
},
"7": {
"type": "Servo PCA9685",
"updateinterval": 50,
"channels": [
{
"id": 0,
"en": false,
"Min": 650,
"Max": 2350,
"rev": false,
"b16": false,
"sca": true,
"hv": 0
},
{
"id": 1,
"en": false,
"Min": 650,
"Max": 2350,
"rev": false,
"b16": false,
"sca": true,
"hv": 0
},
{
"id": 2,
"en": false,
"Min": 650,
"Max": 2350,
"rev": false,
"b16": false,
"sca": true,
"hv": 0
},
{
"id": 3,
"en": false,
"Min": 650,
"Max": 2350,
"rev": false,
"b16": false,
"sca": true,
"hv": 0
},
{
"id": 4,
"en": false,
"Min": 650,
"Max": 2350,
"rev": false,
"b16": false,
"sca": true,
"hv": 0
},
{
"id": 5,
"en": false,
"Min": 650,
"Max": 2350,
"rev": false,
"b16": false,
"sca": true,
"hv": 0
},
{
"id": 6,
"en": false,
"Min": 650,
"Max": 2350,
"rev": false,
"b16": false,
"sca": true,
"hv": 0
},
{
"id": 7,
"en": false,
"Min": 650,
"Max": 2350,
"rev": false,
"b16": false,
"sca": true,
"hv": 0
},
{
"id": 8,
"en": false,
"Min": 650,
"Max": 2350,
"rev": false,
"b16": false,
"sca": true,
"hv": 0
},
{
"id": 9,
"en": false,
"Min": 650,
"Max": 2350,
"rev": false,
"b16": false,
"sca": true,
"hv": 0
},
{
"id": 10,
"en": false,
"Min": 650,
"Max": 2350,
"rev": false,
"b16": false,
"sca": true,
"hv": 0
},
{
"id": 11,
"en": false,
"Min": 650,
"Max": 2350,
"rev": false,
"b16": false,
"sca": true,
"hv": 0
},
{
"id": 12,
"en": false,
"Min": 650,
"Max": 2350,
"rev": false,
"b16": false,
"sca": true,
"hv": 0
},
{
"id": 13,
"en": false,
"Min": 650,
"Max": 2350,
"rev": false,
"b16": false,
"sca": true,
"hv": 0
},
{
"id": 14,
"en": false
}
]
},
"type": 0
}
}
}
}

@marcobrianza
Copy link
Author

marcobrianza commented Mar 17, 2024

on Dig-Octa this is whay I see:

screencapture-192-168-72-90-2024-03-17-15_35_42

this is the file
bubble-5C695A1B5AE0-01.json

I have edited this post:

So It might be still a restore problem

@marcobrianza
Copy link
Author

restoring I get this

screencapture-192-168-72-90-2024-03-17-15_42_48-restore

@marcobrianza
Copy link
Author

I tried again (latest release win dns) and can see errors in the restore log after reboot

[FileMgr] Configuration File: '/config.json' saved 748 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/input_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/input_config.json' saved 604 bytes.
[FileMgr] Configuration File: '/RestoredConfig.json' saved 23 bytes.
------ operator():ESPixelStick/src/WebMgr.cpp:334: Received RestoredConfig message ------
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 180 bytes.
[FileMgr] Configuration File: '/config.json' loaded.
[FileMgr] Configuration File: '/input_config.json' loaded.
[InputMgr] Shutting Down 'Disabled' on Input: 0
[InputMgr] Starting Artnet for channel '0'.
[Artnet] Subscribed to broadcast
[Artnet] Listening for 0 channels from Universe 1 to 0
[Artnet] Listening for 0 channels from Universe 1 to 0
[InputMgr] Shutting Down 'Disabled' on Input: 1
[InputMgr] Starting FPP Remote for channel '1'.
[FileMgr] Configuration File: '/output_config.json' loaded.
[OutputMgr] Shutting Down 'Disabled' on Output: 0
[OutputMgr] 'WS2811' Initialization for Output: 0
[Artnet] Listening for 400 channels from Universe 1 to 1
[ ESP] ***-----Internal Reboot Requested. Rebooting Now
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13232
load:0x40080400,len:3028
entry 0x400805e4
E (520) esp_core_dump_flash: No core dum⸮��⸮⸮ѥѥ⸮⸮⸮found!
E (521) esp_core_dump_flash: No core dump partition found!

[ ESP] ESPixelStick v4.0-ci8317436315 (Mar 17 2024 - 18:25:30)
[ ESP] v4.4.6-dirty
[FileMgr] Flash file system initialized. Used = 225280 out of 327680
[FileMgr] Listing directory: /
[FileMgr] 'RestoredConfig.json': '23'
[FileMgr] 'UpdRecipe.json': '784'
[FileMgr] 'admininfo.json': '180'
[FileMgr] 'config.json': '748'
[FileMgr] 'input_config.json': '2040'
[FileMgr] 'output_config.json': '11668'
[FileMgr] Listing directory: //www
[FileMgr] 'alexa.html.gz': '146'
[FileMgr] 'apa102.html.gz': '1503'
[FileMgr] 'artnet.html.gz': '385'
[FileMgr] 'ddp.html.gz': '144'
[FileMgr] 'dmx.html.gz': '455'
[FileMgr] 'e1_31.html.gz': '460'
[FileMgr] 'effects.html.gz': '973'
[FileMgr] 'esps.css.gz': '13424'
[FileMgr] 'esps.js.gz': '62117'
[FileMgr] 'favicon.ico': '6450'
[FileMgr] 'fpp_remote.html.gz': '385'
[FileMgr] 'gece.html.gz': '501'
[FileMgr] 'gs8208.html.gz': '1579'
[FileMgr] 'index.html.gz': '5232'
[FileMgr] 'mqtt.html.gz': '712'
[FileMgr] 'relay.html.gz': '507'
[FileMgr] 'renard.html.gz': '528'
[FileMgr] 'serial.html.gz': '619'
[FileMgr] 'servo_pca9685.html.gz': '523'
[FileMgr] 'tls3001.html.gz': '1503'
[FileMgr] 'tm1814.html.gz': '1617'
[FileMgr] 'ucs1903.html.gz': '1580'
[FileMgr] 'ucs8903.html.gz': '1585'
[FileMgr] 'ws2801.html.gz': '1502'
[FileMgr] 'ws2811.html.gz': '1582'
[FileMgr] SD Card Size: 953MB
[FileMgr] Roma05.fseq - 12288064
[FileMgr] Configuration File: '/config.json' loaded.
[InputMgr] Merging Restored Input Config File
[FileMgr] Configuration File: '/input_config.json' saved 1633 bytes.
[FileMgr] Configuration File: '/input_config.json' loaded.
[OutputMgr] Merging Restored Output Config File
[FileMgr] Heap: 226956
[FileMgr] Configuration File: '/output_config.json' Deserialzation Error. Error code = NoMemory
[FileMgr] +++++{"output_config":{"cfgver":1,"MaxChannels":9000,"channels":{"0":{"0":{"type":"Disabled"},"1":{"type":"WS2811","color_order":"rgbw","pixel_count":"100","group_size":"1","zig_size":"1","gamma":"1","brightness":"100","interframetime":"300","prependnullcount":"0","appendnullcount":"0","data_pin":"0","showgamma":false},"2":{"type":"GECE","color_order":"rgb","pixel_count":63,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":0},"8":{"type":"UCS1903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":25,"prependnullcount":0,"appendnullcount":0,"data_pin":0},"9":{"type":"TM1814","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":500,"prependnullcount":0,"appendnullcount":0,"data_pin":0,"currentlimit":50},"12":{"type":"GS8208","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":0},"13":{"type":"UCS8903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":30,"prependnullcount":0,"appendnullcount":0,"data_pin":0},"type":1},"1":{"0":{"type":"Disabled"},"1":{"type":"WS2811","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":1},"2":{"type":"GECE","color_order":"rgb","pixel_count":63,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":1},"8":{"type":"UCS1903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":25,"prependnullcount":0,"appendnullcount":0,"data_pin":1},"9":{"type":"TM1814","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":500,"prependnullcount":0,"appendnullcount":0,"data_pin":1,"currentlimit":50},"12":{"type":"GS8208","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":1},"13":{"type":"UCS8903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":30,"prependnullcount":0,"appendnullcount":0,"data_pin":1},"type":0},"2":{"0":{"type":"Disabled"},"1":{"type":"WS2811","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":2},"2":{"type":"GECE","color_order":"rgb","pixel_count":63,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":2},"8":{"type":"UCS1903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":25,"prependnullcount":0,"appendnullcount":0,"data_pin":2},"9":{"type":"TM1814","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":500,"prependnullcount":0,"appendnullcount":0,"data_pin":2,"currentlimit":50},"12":{"type":"GS8208","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":2},"13":{"type":"UCS8903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":30,"prependnullcount":0,"appendnullcount":0,"data_pin":2},"type":0},"3":{"0":{"type":"Disabled"},"1":{"type":"WS2811","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":3},"2":{"type":"GECE","color_order":"rgb","pixel_count":63,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":3},"8":{"type":"UCS1903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":25,"prependnullcount":0,"appendnullcount":0,"data_pin":3},"9":{"type":"TM1814","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":500,"prependnullcount":0,"appendnullcount":0,"data_pin":3,"currentlimit":50},"12":{"type":"GS8208","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":3},"13":{"type":"UCS8903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":30,"prependnullcount":0,"appendnullcount":0,"data_pin":3},"type":0},"4":{"0":{"type":"Disabled"},"1":{"type":"WS2811","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":4},"2":{"type":"GECE","color_order":"rgb","pixel_count":63,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":4},"8":{"type":"UCS1903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":25,"prependnullcount":0,"appendnullcount":0,"data_pin":4},"9":{"type":"TM1814","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":500,"prependnullcount":0,"appendnullcount":0,"data_pin":4,"currentlimit":50},"12":{"type":"GS8208","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":4},"13":{"type":"UCS8903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":30,"prependnullcount":0,"appendnullcount":0,"data_pin":4},"type":0},"5":{"0":{"type":"Disabled"},"1":{"type":"WS2811","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":5},"2":{"type":"GECE","color_order":"rgb","pixel_count":63,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":5},"8":{"type":"UCS1903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":25,"prependnullcount":0,"appendnullcount":0,"data_pin":5},"9":{"type":"TM1814","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":500,"prependnullcount":0,"appendnullcount":0,"data_pin":5,"currentlimit":50},"12":{"type":"GS8208","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":5},"13":{"type":"UCS8903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":30,"prependnullcount":0,"appendnullcount":0,"data_pin":5},"type":0},"6":{"0":{"type":"Disabled"},"1":{"type":"WS2811","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":12},"2":{"type":"GECE","color_order":"rgb","pixel_count":63,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":12},"8":{"type":"UCS1903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":25,"prependnullcount":0,"appendnullcount":0,"data_pin":12},"9":{"type":"TM1814","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":500,"prependnullcount":0,"appendnullcount":0,"data_pin":12,"currentlimit":50},"12":{"type":"GS8208","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":12},"13":{"type":"UCS8903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":30,"prependnullcount":0,"appendnullcount":0,"data_pin":12},"type":0},"7":{"0":{"type":"Disabled"},"1":{"type":"WS2811","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":13},"2":{"type":"GECE","color_order":"rgb","pixel_count":63,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":13},"8":{"type":"UCS1903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":25,"prependnullcount":0,"appendnullcount":0,"data_pin":13},"9":{"type":"TM1814","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":500,"prependnullcount":0,"appendnullcount":0,"data_pin":13,"currentlimit":50},"12":{"type":"GS8208","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":300,"prependnullcount":0,"appendnullcount":0,"data_pin":13},"13":{"type":"UCS8903","color_order":"rgb","pixel_count":100,"group_size":1,"zig_size":1,"gamma":1,"brightness":100,"interframetime":30,"prependnullcount":0,"appendnullcount":0,"data_pin":13},"type":0},"8":{"0":{"type":"Disabled"},"6":{"type":"Relay","updateinterval":0,"channels":[{"id":0,"en":false,"inv":true,"pwm":false,"trig":128,"gid":-1,"Frequency":12000},{"id":1,"en":false,"inv":true,"pwm":false,"trig":128,"gid":-1,"Frequency":12000},{"id":2,"en":false,"inv":true,"pwm":false,"trig":128,"gid":-1,"Frequency":12000},{"id":3,"en":false,"inv":true,"pwm":false,"trig":128,"gid":-1,"Frequency":12000},{"id":4,"en":false,"inv":true,"pwm":false,"trig":128,"gid":-1,"Frequency":12000},{"id":5,"en":false,"inv":true,"pwm":false,"trig":128,"gid":-1,"Frequency":12000},{"id":6,"en":false,"inv":true,"pwm":false,"trig":128,"gid":-1,"Frequency":12000},{"id":7,"en":false,"inv":true,"pwm":false,"trig":128,"gid":-1,"Frequency":12000}]},"7":{"type":"Servo PCA9685","updateinterval":50,"channels":[{"id":0,"en":false,"Min":650,"Max":2350,"rev":false,"b16":false,"sca":true,"hv":0},{"id":1,"en":false,"Min":650,"Max":2350,"rev":false,"b16":false,"sca":true,"hv":0},{"id":2,"en":false,"Min":650,"Max":2350,"rev":false,"b16":false,"sca":true,"hv":0},{"id":3,"en":false,"Min":650,"Max":2350,"rev":false,"b16":false,"sca":true,"hv":0},{"id":4,"en":false,"Min":650,"Max":2350,"rev":false,"b16":false,"sca":true,"hv":0},{"id":5,"en":false,"Min":650,"Max":2350,"rev":false,"b16":false,"sca":true,"hv":0},{"id":6,"en":false,"Min":650,"Max":2350,"rev":false,"b16":false,"sca":true,"hv":0},{"id":7,"en":false,"Min":650,"Max":2350,"rev":false,"b16":false,"sca":true,"hv":0},{"id":8,"en":false,"Min":650,"Max":2350,"rev":false,"b16":false,"sca":true,"hv":0},{"id":9,"en":false,"Min":650,"Max":2350,"rev":false,"b16":false,"sca":true,"hv":0},{"id":10,"en":false,"Min":650,"Max":2350,"rev":false,"b16":false,"sca":true,"hv":0},{"id":11,"en":false,"Min":650,"Max":2350,"rev":false,"b16":false,"sca":true,"hv":0},{"id":12,"en":false,"Min":650,"Max":2350,"rev":false,"b16":false,"sca":true,"hv":0},{"id":13,"en":false,"Min":650,"Max":2350,"rev":false,"b16":false,"sca":true,"hv":0},{"id":14,"en":false}]},"type":0}}}}-----
[OutputMgr] Error: Config size is too small. Cannot create an output config with the current settings.
[FileMgr] Configuration File: '/output_config.json' saved 11501 bytes.
[FileMgr] Configuration File: '/output_config.json' loaded.
[OutputMgr] Invalid Channel Type in config '14'. Specified for channel '8 Disabling channel '
[FileMgr] Configuration File: '/admininfo.json' saved 180 bytes.
[FileMgr] Configuration File: '/config.json' saved 722 bytes.
[WiFiDrv] WiFi Entering State: Connecting As AP
[WiFiDrv] WiFi SOFTAP: ssid: 'ESPixelStick-AP-esps-5C695A1B5AE0
[WiFiDrv] WiFi SOFTAP: IP Address: '0.0.0.0
[EthDrv] Entering State: Powering Up
[ 16554][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
E (16548) gpio: gpio_set_level(227): GPIO output gpio_num error
[EthDrv] Entering State: Connecting
[EthDrv] ETH IP Before Start: 0.0.0.0
[EthDrv] Ethernet Connecting as esps-5C695A1B5AE0
[EthDrv] Connecting to Ethernet with Static IP
[EthDrv] Entering State: Wait for IP Address
[EthDrv] Entering State: Got IP
[WebMgr] Web server listening on port 80
[ FPPD] FPPDiscovery subscribed to broadcast messages on port: 32320
[ FPPD] FPPDiscovery subscribed to multicast: 239.70.80.80:32320
[EthDrv] Ethernet Connected with IP: 192.168.72.90

@MartinMueller2003
Copy link
Collaborator

That happened once in my testing and then I could not get it to reproduce.

@marcobrianza
Copy link
Author

this very simple config file of a dig-octa can produce the issue on a rest device
ESPixelStick-5C695A1B5AE0-t01.json

@MartinMueller2003
Copy link
Collaborator

For the dig octa, the problems starts way earlier. On a first boot after a new FS is installed we already see this error:
[OutputMgr] Error: Config size is too small. Cannot create an output config with the current settings.
indicating the json doc size is set too small. That is without doing a restore.

@MartinMueller2003
Copy link
Collaborator

Fix has been uploaded and is part of the current PR. Octa has a huge output config and the json doc was not big enough to hold it under all configuration combinations and definitely not big enough to merge two configs together.

@marcobrianza
Copy link
Author

While I see no error, I still don't see the output configuration restored

@marcobrianza
Copy link
Author

after loading the file the output 1 is enabled correctly as by config but after reboot and merge is not

[
ESPixelStick-5C695A1B5AE0-02.json
](url)

[FileMgr] Configuration File: '/config.json' saved 703 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/input_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/input_config.json' saved 557 bytes.
[FileMgr] Configuration File: '/RestoredConfig.json' saved 23 bytes.
------ operator():ESPixelStick/src/WebMgr.cpp:334: Received RestoredConfig message ------
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 1436 bytes.
[FileMgr] Configuration File: '/output_config.json' saved 326 bytes.
[FileMgr] Configuration File: '/config.json' loaded.
[FileMgr] Configuration File: '/input_config.json' loaded.
[InputMgr] Shutting Down 'Disabled' on Input: 0
[InputMgr] Starting Artnet for channel '0'.
[Artnet] Subscribed to broadcast
[Artnet] Listening for 0 channels from Universe 1 to 0
[Artnet] Listening for 0 channels from Universe 1 to 0
[FileMgr] Configuration File: '/output_config.json' loaded.
[OutputMgr] Shutting Down 'Disabled' on Output: 0
[OutputMgr] 'WS2811' Initialization for Output: 0
[Artnet] Listening for 396 channels from Universe 1 to 1
[ ESP] ***-----Internal Reboot Requested. Rebooting Now
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13232
load:0x40080400,len:3028
entry 0x400805e4
E (520) esp_core_dump_flash: No core dum⸮�⸮⸮⸮ѥѥ⸮⸮⸮found!
E (521) esp_core_dump_flash: No core dump partition found!

[ ESP] ESPixelStick v4.0-ci8327847865 (Mar 18 2024 - 13:59:28)
[ ESP] v4.4.6-dirty
[FileMgr] Flash file system initialized. Used = 225280 out of 327680
[FileMgr] Listing directory: /
[FileMgr] 'RestoredConfig.json': '23'
[FileMgr] 'UpdRecipe.json': '784'
[FileMgr] 'admininfo.json': '180'
[FileMgr] 'config.json': '703'
[FileMgr] 'input_config.json': '1993'
[FileMgr] 'output_config.json': '11814'
[FileMgr] Listing directory: //www
[FileMgr] 'alexa.html.gz': '146'
[FileMgr] 'apa102.html.gz': '1503'
[FileMgr] 'artnet.html.gz': '385'
[FileMgr] 'ddp.html.gz': '144'
[FileMgr] 'dmx.html.gz': '455'
[FileMgr] 'e1_31.html.gz': '460'
[FileMgr] 'effects.html.gz': '973'
[FileMgr] 'esps.css.gz': '13424'
[FileMgr] 'esps.js.gz': '62117'
[FileMgr] 'favicon.ico': '6450'
[FileMgr] 'fpp_remote.html.gz': '385'
[FileMgr] 'gece.html.gz': '501'
[FileMgr] 'gs8208.html.gz': '1579'
[FileMgr] 'index.html.gz': '5232'
[FileMgr] 'mqtt.html.gz': '712'
[FileMgr] 'relay.html.gz': '507'
[FileMgr] 'renard.html.gz': '528'
[FileMgr] 'serial.html.gz': '619'
[FileMgr] 'servo_pca9685.html.gz': '523'
[FileMgr] 'tls3001.html.gz': '1503'
[FileMgr] 'tm1814.html.gz': '1617'
[FileMgr] 'ucs1903.html.gz': '1580'
[FileMgr] 'ucs8903.html.gz': '1585'
[FileMgr] 'ws2801.html.gz': '1502'
[FileMgr] 'ws2811.html.gz': '1582'
[FileMgr] SD Card Size: 953MB
[FileMgr] Roma05.fseq - 12288064
[FileMgr] Configuration File: '/config.json' loaded.
[InputMgr] Merging Restored Input Config File
[FileMgr] Configuration File: '/input_config.json' saved 1609 bytes.
[FileMgr] Configuration File: '/input_config.json' loaded.
[OutputMgr] Merging Restored Output Config File
[FileMgr] Configuration File: '/output_config.json' saved 11796 bytes.
[FileMgr] Configuration File: '/output_config.json' loaded.
[FileMgr] Configuration File: '/admininfo.json' saved 180 bytes.
[FileMgr] Configuration File: '/config.json' saved 703 bytes.
[WiFiDrv] WiFi Entering State: Connecting As AP
[WiFiDrv] WiFi SOFTAP: ssid: 'ESPixelStick-AP-esps-5C695A1B5AE0
[WiFiDrv] WiFi SOFTAP: IP Address: '0.0.0.0
[EthDrv] Entering State: Powering Up
[ 21327][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
E (21321) gpio: gpio_set_level(227): GPIO output gpio_num error
[EthDrv] Entering State: Connecting
[EthDrv] ETH IP Before Start: 0.0.0.0
[EthDrv] Ethernet Connecting as esps-5C695A1B5AE0
[EthDrv] Connecting to Ethernet using DHCP
[EthDrv] Entering State: Wait for IP Address
[EthDrv] Entering State: Got IP
[WebMgr] Web server listening on port 80
[ FPPD] FPPDiscovery subscribed to broadcast messages on port: 32320
[ FPPD] FPPDiscovery subscribed to multicast: 239.70.80.80:32320
[EthDrv] Ethernet Connected with IP: 192.168.72.137
[ 31646][E][vfs_api.cpp:105] open(): /littlefs/www/index.html does not exist, no permits for creation

@MartinMueller2003
Copy link
Collaborator

Config merge has been disabled. It is a future looking feature and not needed at this
time. Config gets restored now.

@marcobrianza
Copy link
Author

Yes! working on my Dig-Octa. It looks we are ready for a new beta release. Do you have other improvements/fixes in mind?

@MartinMueller2003
Copy link
Collaborator

I am still working on a config merge mechanism that will work on significant upgrades. The current merge only works on the same version of SW that you started with. It will result on config fields not getting set when changed in the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants