64 Replies
@ninjadev64 these are the things in the console
these errors are popping up when I press a button
try again now, small chance its fixed
the real error is the Failed to load resource: 404 not found one
The discord button seems to be stable now again. The HOAS (Homeassistant) Button was frist there but vanisehd as soon as I pressed a button. (The Yellow Exclamation mark was there the whole time on the HOAS Button)
any ideas? It at least works one time. At start of Opendeck. So it is possible to get the image. But after that it doesn't really work with HOAS Addon.
Please can you investigate this yourself, I really do not have time to fix issues with every single plugin - I'm busy this entire weekend and have school (+clubs, music lessons, sports etc) in the week
I will try
You can start by adding
println!("{:?}", event.payload.image);
at the start of the set_image function in src-tauri/src/events/inbound/states.rs
I don't know why, but since I added this line Opendeck just stays white when startet with
deno task tauri dev
. Even if I remove the line it stays white after rerun the command. Before I added the line it worked.
Nothing in the Logs except for [WARN] Failed to update application: Could not fetch a valid release JSON from the remote
which also happens with the Build one from the AUR.
It still works when I start the installed Opendeck.Yea just change
deno task dev
in tauri.conf.json to npm run dev
On the 2nd or 3rd line
And optionally add usePolling: true
to the watch
section of vite.config.tsworked.
Now when I press the Button of Homeassistant I get the following in the Terminal
Some("data:image/svg+xml;,<svg height=\"144\" version=\"1.1\" width=\"144\" xmlns=\"http://www.w3.org/2000/svg\"><defs/><path d=\"M12,2A7,7 0 0,0 5,9C5,11.38 6.19,13.47 8,14.74V17A1,1 0 0,0 9,18H15A1,1 0 0,0 16,17V14.74C17.81,13.47 19,11.38 19,9A7,7 0 0,0 12,2M9,21A1,1 0 0,0 10,22H14A1,1 0 0,0 15,21V20H9V21Z\" fill=\"#888888\" transform=\"matrix(3,0,0,3,36,0)\" style=\"\"/></svg>")
I am a bit confused. The image in Opendeck Config dir is a .png. But here it states it wants a svg?
and also I get three times Couldn't get key from code: Unidentified(Gtk(248))
every time I press the button with the not working image.You can ignore this
Over at stReamcontroller someone is also complaining about the missing HA images. Maybe something changed on HA side?
Maybe the SVG is just the error icon.
The error icon is the one shown by OpenDeck when the image is blank
Before I added that, Terrorwolf's buttons were just blank
I didn't think StreamController had plugin support?
I hadn't much time on the weekend to debug further. Will do today after work. Do you have a link to this for me?
Here, but not much info. https://discord.com/channels/1221536306367303690/1221539085068402758/1328171713971617883
I have streamcontroller running and also get the default HA icon. No entity specific icons.
If I understand correctly you also use the Homeassistant Streamdeck Plugin from cgiesche? If yes, could you check if you get in the Config folder of Opendeck (Or maybe streamcontroller if you use that) find the Image for Homeassistant Icon and if it changes as of the state of the Light/Device?
Also I can "fix" it when I force a reload of the images like for example if I change the state of the light and then add a few buttons.
And since the .png in the Config folder changes as soon as I change my light, I don't think its a problem of the Plugin. Maybe there is a refresh or something in the Streamdeck which is not called with Opendeck or so.
StreamController doesn't have Elgato plugin support though
So it won't be the same cgiesche plugin
My findings are just from this plugin. But even if its not the same plugin, it could be a similar problem there.
Can you check the contents of the saved .png file in a text editor
and with the official Elgato Software the Plugin works without Problems.
I don't why. but now its saved as a svg file.
If you want I can send you the .svg file
Sure, why not
Also forgot to mention, the issue happened again on the Discord button today
Maybe after line 52 of rendererHelper.ts add a console.log(image.src);
done. That should output to the "Rightclick Inspect" Console shouldn't it?
Outputs the SVG file correctly.
As in something like
http://localhost:57118//home/jan/.config/opendeck/images/sd-xxxx/xxxx/0.svg
?
@Terrorwolf did you say you had a testing homeassistant?as in
[Log] data:image/svg+xml;,<svg height="144" version="1.1" width="144" xmlns="http://www.w3.org/2000/svg"><defs/><path d="M12,2A7,7 0 0,0 5,9C5,11.38 6.19,13.47 8,14.74V17A1,1 0 0,0 9,18H15A1,1 0 0,0 16,17V14.74C17.81,13.47 19,11.38 19,9A7,7 0 0,0 12,2M9,21A1,1 0 0,0 10,22H14A1,1 0 0,0 15,21V20H9V21Z" fill="#888888%22%20transform=%22matrix(3,0,0,3,36,0)%22%20style=%22%22/%3E%3C/svg%3E (rendererHelper.ts, line 34)
I have a testing Homeassistant. But its offline unless needed.oh, right
Is the issue where your stream deck blinks every 10 seconds fixed?
If you want I can set you up with an test account tomorrow
yea, I might have a look when I have time
so make an account but don't keep it running, i'll tell you when i'm free
(am free now but probs not for a few days after this)
no problem. Just tell me when you are free and I will start it.
@Terrorwolf ^?
sry didn't saw the message. Yes it seems so.
For me, I get these Errors:
This might be about these: https://github.com/cgiesche/streamdeck-homeassistant/blob/87c9edcb15ee837ce53f7194e82f829c2675610a/public/config/manifest.yml
GitHub
streamdeck-homeassistant/public/config/manifest.yml at 87c9edcb15ee...
Control your Home Assistant devices from StreamDeck - cgiesche/streamdeck-homeassistant
The its another Problem at yours. Mine is that Opendeck does not show the new picture which is already updated in the background on the filesystem.
Could you check if the image is updating at /home/<username>/.config/opendeck/images/<serialnumber>/Default/Keypad.<number>.0
The image shown in the folder is not the one shown in Opendeck/on the HW.
other exmple
If I choose the icon manually from the same folder, it is loaded/shown
very strange
Do they switch if you change profiles and back? Or reload?
yes. The also update when I "force" an image update like adding buttons moving buttons or removing buttons.
the yellow ! is the error symbol of Opendeck. do they update to the right one if you move another button? (somtimes i need to move it a few times)
I tried a few key and profile changes, but it is always the yellow exclamation mark for me
Ok. And in the background on the file system the Image is updating as soon as your light (or whatever you have configured) changes state?
I tried a few entities and got the correct image on the file system.
Which version do you have installed? The latest stable or the latest got version?
git from around 2 days ago
Ok
What OS are you using?
Kubuntu 24.10
Ok
I just noticed, the first time I am starting opendeck, the HA keys show the entity text as black on black background. (It says "heat") in the background.
But as soon I start to start to modify or move the key it is gone.
Also if I move other keys (no HA) around, they sometimes also get the yellow exclamation mark.
Saw it on Discord and run Command
404 on the image path on the local web server.
But are also missing on the file system
The Discord Plugin does seem to store the pictures somewhere else and ist working, (not breaking by moving the keys around) The images are not on the filesystem
With what Plugins do you have problems except the Homeassistant one?
Run Command. But I can heal it by just manually rechoosing the icon., and then it seems fixed for that key. I can move it around and it keeps its picture.
Will have to check when exactly it starts happening.
Maybe this helps:
This I can fix
I think I know why
try the latest commit, this is fixed i think
this is some error in a plugin (specifically in a property inspector), not opendeck
I can try in a few hours and will give feedback on Linux.
How did it go?
Old icons on the right are still broken. Also when moving them around.
New icons on the left are working fine, even when working around.
I will recreate the ones on the right.
Yes the old ones won't have fixed themselves