I have a digital photo frame like device I created that can be controlled by HTTP requests, so I figured this was a perfect usage for the IP Device Generator plugin. After installing the plugin, I went to “Create New Configuration” ad created a template for my device, which appeared to work well.
But now I’m stuck. No device was created, clicking the “+” symbol under “Create device” just pops up a window saying “There is no device created by this plugin”, as does clicking “Edit”.
So, how do I actually create a device with this plugin?
EDIT: I also do not seem to be able to delete a template - clicking delete, or publish for that matter, causes the buttons above the “Private IP device templates” header to disappear, but otherwise seems to do nothing. The template is DEFINITELY not deleted…
Thera are some bugs related to this plugin that were reported to the dev’s team during this week and are being worked on, not being able to edit, create or publish devices as well as not being able to delete the template are some of the issues related to the bug.
The issues are currently open, and the dev’s team is working to fix them as soon as possible. We don’t have an ETA for when the issue will get fixed, so please stay attentive to the forum and the web UI.
Have a nice weekend and let us know if you require additional assistance.
I noticed the latest ezlogic update fixed the issues with creating/deleting/etc devices using this plugin. Thanks! I am able to create a device now, and it shows up under Settings–>Devices, however I’m not seeing it on the dashboard so I can control it.
I set it up as a switch, so I was expecting it to show up as such. Did I do/expect something wrong, or is this a remaining bug?
Once you have created the IP Device Generator device, a switch in your case it should appear on the dashboard. Try deleting your browser cache or delete the actual dashboard database. You using Chrome ?
Thanks for the suggestion, unfortunately it didn’t help. I wasn’t using Chrome, but rather Safari, so I went ahead and tried Chrome (which shouldn’t have had a cache, since I hadn’t used it for this), but it didn’t show up there either. I then (still in chrome) tried a shift-reload, as well as following the directions in that other thread to delete the dashboard database, with no luck.
Then, back in safari, I tried a) a shift reload, b) empty caches and reload, and c) deleting all entries in the “storage” section of the debugger, again with no luck.
Yep. As I said, it shows up under Settings–> Devices, just not on the Dashboard.
Which would seem to indicate that this is another bug (unless it is still working for other people, just not me), perhaps related to whatever made it impossible to create a new device or edit/delete templates.
Course, when I try it now, the dashboard isn’t loading at all… I’m sure that’s temporary though!
And now you can Click “Create Device” Icon next to the template you want to use.
In this example I will use “Shelly1” template, which allows you to create a switch device controlling a Shelly1 switch in local network.
4- Configure IP address and port numbers . Unnecessary fields from this page will be removed in the next version of the plugin.
Follow-up question: how can I periodically get the status of the device, such that if it changes due to other means (such as direct HTTP calls), the device status gets updated? Is that something I can add to the template?
I’ll do some more digging there, see if I can figure it out as well.
the device category and subcategory selections(1) only apply to device UI on mobile and dashboard.
And the capabilities list (2) is independent. In the capability list all capabilities other than the switch capability are sensor device readings and they all have poll interval option
Unfortunately I was unable to figure this out. I looked over the list of capabilities, and thought maybe power was what I was looking for. However, that seems to be related to power usage not power state. So I’m not seeing any option in there to poll the device for current state.
Specific usage: I have a home-made digital photo frame type device that I would like to be able to put to sleep/wake up. I can accomplish this using the “switch” capability to send the proper HTTP command to sleep/wake the device.
This works well, but I also need to be able to poll the device to see if it is currently awake or asleep in order to make sure the virtual switch matches the current state of the device. For example, if I used the virtual switch to wake up the device, but then used some other method (not ezlo related) to put it to sleep. The virtual switch would still be showing “on” even though the device is “off”, meaning that I would need to first turn it off on the ezlo dashboard before I could turn it on for real.
This is where I am currently stuck: how to check the current state of the “switch” to update the virtual “switch” correctly.
you are right, we definitely need a polling feature for switch capability for that.
We have the polling for sensor type of capabilities bu not for switch. Let us add this as well shortly.
BTW, thanks also for making this plugin. I’ve been controlling the device by using HTTP requests in the actions section of scenes/meshbots (depending on what device I’m controlling it from), but this plugin will make things much cleaner/easier. Kudos to the development team!
Ah, perfect. Then I can just set this meshbot to run periodically, with another meshbot that watches the variable, and sets the virtual switch whenever it changes (unless there is a way to combine the two, such that a single meshbot runs the http request, gets the value, and if it’s changed, does something in addition to storing the value? That’s probably asking too much… ).
Sounds like a reasonable workaround until they get polling implemented for the switch capability. Will mean that if I put the display to sleep elsewhere, that it will get an extra “sleep” command as this meshbot fires off, but that won’t hurt anything