Good morning, all,
I have now tested it with the rule and the dummy button, worked, and finally also with “When Pimatic is starting” !
Thanks again for the great support!
New plugin [pimatic-css-inject]
Good morning, all,
I have now tested it with the rule and the dummy button, worked, and finally also with “When Pimatic is starting” !
Thanks again for the great support!
I installed a new fresh Pimatic on a new fresh Raspian and I copied the config.json to the new installation.
Now everything works but I have a strange problem with cssinject.
The rule :
set css “display” of “#Voordeur” to "none"
does not work anymore
But the rule
set css “color” of “#Voordeur” to "ffffff"
does work!
another rule with a device on the same page also works:
set css “display” of “#keukenlampen-dimmer” to “none”
So why does the first rule not work?
What’s the device ID? Shown on the device config page.
But the problem can’t be the device ID because then I also could not change the color of that device.
See:
Does the action trigger?
Yes, It does. You can see the action executed in the GUi and as you van see, It appears in the message log.
The keukenlampen-dimmer device is actualy hidden, the Voordeur device isn’t.
You have to analyze the DOM via Chrome developer tools and look for the correct ID of the div.
Normally it should be lowercase.
I don’t know why, the whole day it didn’t work.
Now it suddely works…
And I didn’t change a thing…