If this is your first visit, be sure to check out the FAQ. You must register before you can post. Your first post will be checked for appropriate content
(SPAM) - please allow a bit of time for that. After that, you'll be able to post at will!

Ugh, Dead in the water

November 7th, 2018, 10:00 PM

I used the updater to download the trial version of this plugin (silly me) and didn't get far. I created a scene but when I tried to add members to it the page just hangs. I gave it 30 minutes and then killed the page. Thought I'd try disabling and re-enabling the plugin but the Manage page hangs as well. Had to shutdown and restart HS to get to the Plugins->Manage page again. Next I selected Plugins->SceneMaster->SceneMaster Scene Config and I get the same hang. Restarted HS again, went straight to Plugins->Manage and Disabled the plugin.

Guess what? The latest version in the updater is 1.2.2.0 which is almost 3 years old. I see posts about 1.3.7.2? Nothing in the Beta section. Why isn't the HS release and update mechanism being properly used?

Comment

Turns out that I can get rid of the hang if I delete the scene device I was trying to create. Looks like this PI might have trouble adding certain devices to a profile. I was trying to add the device "Smart Bulb colour_data" to set the color of a bulb in a profile.

Comment

Turns out that I can get rid of the hang if I delete the scene device I was trying to create. Looks like this PI might have trouble adding certain devices to a profile. I was trying to add the device "Smart Bulb colour_data" to set the color of a bulb in a profile.

The scene data is indeed stored in the device, I have never heard a report of such a hang. Is there any exception file in your HS directory?

The issue wasn't directly Tuya related, the issue was SceneMaster has traditionally used the device status as a drop down item. There was a bug where things like door locks which had separate but overlapping command and control items (one had a command of Unlock and a status of Unlocked) didn't provide any control. In adding that I allowed ranges to go into the drop down list, but did not limited it. So on the control control there are 0-16m combinations, so the system wanted to put every numeric value in the drop down. Ran out of memory and then likely HS restarted it. Hence the behavior you saw.

Today there isn't a good way to handle a device with such a large range of values (I may need an option where one can put a specific value in). I did however make a change that if there is a control available who's value does overlap a status (and we didn't already find any 'both' type controls to us), then I will allow that control in So you should see in this update all the default colors (which are from the HTML spec) should be available. If you need a custom color outside of these ~130 colors, I don't today have a solution for that.