Announcement

Collapse
No announcement yet.

New to this and trying out plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    New to this and trying out plugin

    I downloaded your plugin for hS4 on my Hometroller (Linux). I have been wanting a floor plan interface and like what I see. I had a similar setup on my HS3 computer. I am now using a Hometroller and I was able to upload my drawing of my floor plan. (It shows rather large). I downloaded your light bulbs zip and started to add them via the image uploader per your setup instructions. I made a couple of mistakes and wanted to delete the 2 icon but when I click the X it does nothing and does not delet, do i need to do it in another screen? I dont quite understand the uploading of the light bulb to the same name either.
    Thanks Dave..


    Click image for larger version

Name:	Simmap setup.PNG
Views:	140
Size:	263.3 KB
ID:	1490298

    #2
    Hi, thanks for getting in touch.

    I've spent some time on squashing these bugs, meaning an update will hit everyone in the next couple of days (1.0.2.0). It should fix
    - Your issue with duplicate images with the same name and number
    - Your issue with deleting the images.

    I also added a bonus feature (control widgets for buttons); It just didn't feel right pushing an update without features.

    That being said: Your configuration looks a bit weird. For the lights in my home, I have two sorts: Those whose control values go from 0 to 255, and those whose control values go from 0 to 100. Therefore, my image configuration looks like this:
    Click image for larger version  Name:	2021-08-20.png Views:	0 Size:	256.9 KB ID:	1490473

    You can see the control range of your lights by using the regular homeseer control panel. Click a device -> status/graphics -> click the feature controlling the light. This screen should show you what numeric value means "on" and "off" for this device. So: Make sure your "image numbers" match up with the expected control values for the device you intend to control!

    Comment


      #3
      Ok looking forward to the update, I will delete my wrong lamps and add the correct ones. I am using zwave lamps and will check the brightness scale to use. Can you put a return to devices on the home page so you dont have to click the back arrow?
      Thanks again I will be watching.

      Comment


        #4
        You should have a toolbar at the top of your screen when using both the image uploader and the house designer, for quick access to the main HomeSeer user interface.

        This toolbar has been omitted from the house controller screen because the primary use-case for this plugin is to run that screen on tablets and such, where such a toolbar would not only get in the way, but also take up precious screen real-estate.

        Comment


          #5
          Ok , thanks that makes sense. I will wait for the update so I can delete the wrong images, thanks again.

          Comment


            #6
            I saw the update today and it would not update I kept getting an error. I went ahead and tried to uninstall which it let me do. Now when I try to install again this is the error screen i get. Any ideas? Click image for larger version

Name:	Simmap download failure.PNG
Views:	90
Size:	246.6 KB
ID:	1491388

            Comment


              #7
              Hi,

              This updater issue is beyond my control I think. Would you mind posting that question on one of the more HS-plugin oriented boards for (hopefully) a HS development team member to see?

              EDIT: You might have just gotten super unlucky and stumbled upon this at the exact time this issue occurred: https://forums.homeseer.com/forum/ho...of-25-aug-2021

              Do you still have problems with installing plugins?

              Comment


                #8
                no i tried to install a different plugin and it installed ok. I only show 4 plugins and I know I have a limit of 5. I dont know what board to possibly post on, you have any suggestions?

                Comment


                  #9
                  I'll email the support team, considering it's only my plugin. Hopefully I'll be back with good news

                  Comment


                    #10
                    Ok let me know if I need to I can post or possibly reload HS4. I did update to the latest HS4 4.2.0.0. I dont know if I have a corrupted HS4 file or linux that could be causing problem.
                    Thank You again.

                    Comment


                      #11
                      The HS support team has informed me that they have resolved the issue. Please try again, hopefully there's no more gamebreaking bugs, but if there are, don't hesitate to let me know!

                      Oh, and feature requests are always welcome :-)

                      Comment


                        #12
                        That did it, Thanks so much I will try to setup again. I was able to get it to load the plugin, however now I can upload one png floorplan and it wont let me load any other plan being jpg or png i get the error below. With the one floorplan which I did load when I try to add the icon to the house designer nothing shows up on the page. I am trying to figure out if I need to make all the floorplans under different names and the same with lights. I will attach some screen shots when i add the icon to the designer it wont add any floorplan. Any ideas? Thanks for your support.


                        Click image for larger version

Name:	Unable to add floorplan to designer.PNG
Views:	71
Size:	237.9 KB
ID:	1491744

                        Click image for larger version

Name:	unable to load second floorplan is jpg.PNG
Views:	76
Size:	384.2 KB
ID:	1491743

                        Comment


                          #13
                          Wow, that's interesting. Just to be clear: Right now, this plugin only supports showing one floor plan at a time, so no point in uploading multiple.

                          That being said, You shouldn't be getting errors. For debugging that second image, I need more info. Would you mind digging out the true error?
                          - right click on the page and select "inspect"
                          - Access the network tab
                          - Reproduce the issue
                          - There should be lots of new lines in the network tab. The one I'm interested in is the one with the name "image-uploader.html" and the type "xhr".
                          - Click on it and select the "response" tab to the right. I'm interested in what it says.

                          For that first image... hmm. It shows no image whatsoever no matter what you select as "floor plan image"? If you right click on the page yet again and select inspect, selecting the "console" tab this time, does it show any errors?

                          Comment


                            #14
                            ok I thought it supported multiple, I will try your suggestions. I still dont get the floor plan displayed in the house designer and it will only let me upload a png file. Here are some attachments. this is the data from the image uploader and the response tab. I could not find "xhr".


                            !DOCTYPE html>
                            <html lang="en">
                            <head>
                            <meta charset="utf-8">
                            <meta http-equiv="X-UA-Compatible" content="IE=edge">
                            <!--This maintains the scale of the page based on the scale of the screen-->
                            <meta name="viewport" content="width=device-width, initial-scale=1">
                            <meta name="author" content="Mads Baardsgaard">
                            <!--This liquid tag loads all of the necessary css files for HomeSeer-->
                            <link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet" >
                            <link href="/bootstrap/css/mdb.css" rel="stylesheet" >
                            <!-- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Abel" >-->
                            <link rel="stylesheet" href="/bootstrap/fontawesome/css/all.min.css" >
                            <link href="/bootstrap/css/jui.css" rel="stylesheet" type="text/css" >
                            <link href="/bootstrap/css/pickr.min.css" rel="stylesheet" type="text/css" >
                            <link href="/bootstrap/css/sweetalert/bootstrap-4.min.css" rel="stylesheet" type="text/css" >

                            <link href="/style.css" rel="stylesheet" >
                            <link href="/custom.css" rel="stylesheet" >
                            <title>Icon Uploader</title>
                            <style type="text/css">
                            .light {
                            width: 50px;
                            height: 50px;
                            touch-action: none;
                            background-color: transparent;
                            }

                            .infobox {
                            background:#ff004e;
                            -webkit-border-radius: 10px;
                            -moz-border-radius: 10px;
                            border-radius: 10px;
                            width:250px;
                            height:150px;
                            animation: fadein 0.2s;
                            padding: 10px;
                            position:absolute;
                            }
                            .infobox:before {
                            content: "";
                            position: absolute;
                            top: 60px;
                            left:-30px;
                            z-index: 1;
                            border: solid 15px transparent;
                            border-right-color: #ff004e;
                            }

                            .infobox select {
                            display: block !important;
                            }

                            .container input {
                            display: block;
                            }

                            #imageList p {
                            margin-top: 30px;
                            }
                            .uploadImgBox {
                            display:inline;
                            margin: 20px;
                            }
                            .uploadImgBox .del {
                            position: relative;
                            right: 20px;
                            bottom: 40px;
                            background: #004069;
                            color: #fff !important;
                            padding: 5px;
                            border-radius: 20px;
                            }

                            .uploadImg {
                            max-width: 200px;
                            max-height: 200px;
                            }


                            @keyframes fadein {
                            from {
                            opacity:0;
                            }
                            to {
                            opacity:1;
                            }
                            }
                            </style>
                            </head>
                            <body class="body homeseer-skin">
                            <!--Header-->
                            <div class="row no-gutters border-secondary top_bar hide_mobile py-2 align-items-center">
                            <div class="col ml-2 d-flex align-items-start">
                            <img src="/images/HomeSeer/ui/logo.png" border="0" height='22'>
                            </div>
                            <div class="col header_title text-center">
                            HomeSeer PI Ravenna
                            </div>
                            <div class="col text-right devices_date_time align-middle top_bar_text mr-2">
                            <div class="dropdown">
                            <a class="dropdown-toggle d-none d-md-inline-block" id="navbarDropdownMenuLinkUser" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <i class="fas fa-user"></i> wolfe4656
                            </a>
                            <div class="homeseer dropdown-menu nav-sub-menu" aria-labelledby="navbarDropdownMenuLinkUser">
                            <a href="/logout" class="dropdown-item">Log Out</a>
                            <a href="/setup.html?tab=users" class="dropdown-item">Manage Users</a>
                            </div>
                            </div>

                            </div>
                            </div>
                            <header>
                            <!-- Sidebar navigation -->
                            <div id="side-nav-slide-out" class="side-nav">
                            <ul class="custom-scrollbar">
                            <!-- Logo -->
                            <li>
                            <div class="logo-wrapper waves-light">
                            <img src="/images/HomeSeer/ui/logo.png" class="img-fluid flex-center"/>
                            </div>
                            </li>
                            <!--/. Logo -->
                            <!--Search Form-->

                            <li class="px-3 border-bottom border-light pb-3">
                            <form id="searchform-side" class="search-form" role="search">
                            <div class="form-group md-form md-outline mt-0 pt-1 align-content-center">
                            <input class="form-control pl-3 w-100" type="text" name="search_data" aria-label="Search" placeholder="Search">
                            <button class="btn btn-sm btn-primary w-100 m-0 mt-2" action="search" name="search_button" type="button">Search</button>
                            </div>
                            </form>
                            </li>

                            <!--/.Search Form-->
                            <!-- Side navigation links -->
                            <li>
                            <ul class="collapsible collapsible-accordion">
                            <li><a href="/devices.html" class="waves-effect">Devices</a></li>
                            <li><a href="/events.html" class="waves-effect">Events</a></li>
                            <li><a class="collapsible-header waves-effect arrow-r"> Cameras<i class="fas fa-angle-down rotate-icon"></i></a>
                            <div class="collapsible-body">
                            <ul class="list-unstyled">
                            <li><a href="/cameras.html" class="waves-effect">Live</a></li>
                            <li><a href="/recordings.html" class="waves-effect">Recordings</a></li>
                            </ul>
                            </div>
                            </li>
                            <li><a href="/setup.html" class="waves-effect">Setup</a></li>
                            <li><a class="collapsible-header waves-effect arrow-r"> Tools<i class="fas fa-angle-down rotate-icon"></i></a>
                            <div class="collapsible-body">
                            <ul class="list-unstyled">
                            <li><a href="/help.html" class="waves-effect">Help</a></li>
                            <!--Side navigation linux menu items-->
                            <li><a href="/timerscounters.html" class="waves-effect">Timers/Counters</a></li>
                            <li><a href="/runscript.html" class="waves-effect">Script Commands</a></li>

                            <li><a href="/energy.html" class="waves-effect">Energy</a></li>

                            <li><a href="/backup.html" class="waves-effect">Backup/Restore</a></li>
                            <li><a href="/log.html" class="waves-effect">Log</a></li>
                            <li><a href="/about.html" class="waves-effect">About</a></li>
                            <li class="ml-4 d-block font-weight-normal fa-1x h-100 py-2">System</li>

                            <li><a href="/system.html?action=shutdown_hs" class="waves-effect">Shutdown HomeSeer...</a></li>

                            <li><a href="/system.html?action=shutdown_system" class="waves-effect">Shutdown System...</a></li>

                            <li><a href="/system.html?action=restart_system" class="waves-effect">Restart System...</a></li>

                            <li><a href="/linuxtools.html" class="waves-effect">Linux Tools</a></li>

                            <li><a href="newpass.html" class="waves-effect">Change System Password</a></li>

                            </ul>
                            </div>
                            </li>
                            <li><a href="/logout" class="waves-effect">Log Out</a></li>
                            <!--Section header for plugins-->
                            <li class="mt-2 d-block pl-3 font-weight-normal border-bottom border-light fa-1x h-100 py-2">Plugins</li>
                            <li class="mt-3"><a href="/shop.html" class="waves-effect">Add</a></li>
                            <li><a href="/plugins.html" class="waves-effect">Installed</a></li>
                            <!--Side nav plugin items -->

                            <li><a class='collapsible-header waves-effect arrow-r'>NetCam Plugin<i class='fas fa-angle-down rotate-icon'></i></a>
                            <div Class='collapsible-body'>
                            <ul Class='list-unstyled'>

                            <li><a href='/NetCam/addcameras.html' Class='waves-effect'>Add Cameras</a></li>

                            <li><a href='/NetCam/viewimages.html' Class='waves-effect'>View Images</a></li>

                            <li><a href='/NetCam' Class='waves-effect'>Settings</a></li>

                            </ul>
                            </div>
                            </li>

                            <li><a class='collapsible-header waves-effect arrow-r'>Simmap<i class='fas fa-angle-down rotate-icon'></i></a>
                            <div Class='collapsible-body'>
                            <ul Class='list-unstyled'>

                            <li><a href='/Simmap/image-uploader.html' Class='waves-effect'>Image Uploader</a></li>

                            <li><a href='/Simmap/house-designer.html' Class='waves-effect'>House Designer</a></li>

                            <li><a href='/Simmap/house-controller.html' Class='waves-effect'>House Controller</a></li>

                            </ul>
                            </div>
                            </li>

                            <li><a class='collapsible-header waves-effect arrow-r'>TPLinkSmartHome4<i class='fas fa-angle-down rotate-icon'></i></a>
                            <div Class='collapsible-body'>
                            <ul Class='list-unstyled'>

                            <li><a href='/TPLinkSmartHome4/discover-devices-process.html' Class='waves-effect'>Discover TPLink Devices Process</a></li>

                            <li><a href='/TPLinkSmartHome4/tpl-device-list.html' Class='waves-effect'>Manage TPLink plugin devices</a></li>

                            <li><a href='/TPLinkSmartHome4/tpl-utilities.html' Class='waves-effect'>Utilities</a></li>

                            <li><a href='/TPLinkSmartHome4' Class='waves-effect'>Settings</a></li>

                            </ul>
                            </div>
                            </li>

                            <li><a class='collapsible-header waves-effect arrow-r'>Tuya<i class='fas fa-angle-down rotate-icon'></i></a>
                            <div Class='collapsible-body'>
                            <ul Class='list-unstyled'>

                            <li><a href='/Tuya/authorize.html' Class='waves-effect'>Authorize</a></li>

                            <li><a href='/Tuya/manage-devices.html' Class='waves-effect'>Manage Devices</a></li>

                            <li><a href='/Tuya' Class='waves-effect'>Settings</a></li>

                            </ul>
                            </div>
                            </li>

                            <li><a class='collapsible-header waves-effect arrow-r'>Z-Wave<i class='fas fa-angle-down rotate-icon'></i></a>
                            <div Class='collapsible-body'>
                            <ul Class='list-unstyled'>

                            <li><a href='/help' Class='waves-effect'>Help</a></li>

                            <li><a href='/ZWaveWho' Class='waves-effect'>Node Information</a></li>

                            <li><a href='/ZWaveLocks' Class='waves-effect'>Lock Management</a></li>

                            <li><a href='/ZWaveScenes' Class='waves-effect'>Scene Management</a></li>

                            <li><a href='/ZWaveControllers' Class='waves-effect'>Controller Management</a></li>

                            <li><a href='/z-wave-gui/add-device.html' Class='waves-effect'>Add Device</a></li>

                            <li><a href='/z-wave-gui/remove-device.html' Class='waves-effect'>Remove Device</a></li>

                            <li><a href='/z-wave-gui/add-interface.html' Class='waves-effect'>Add Interface</a></li>

                            <li><a href='/z-wave-gui/manage-interfaces.html' Class='waves-effect'>Manage Interfaces</a></li>

                            <li><a href='/z-wave-gui/device-diag.html' Class='waves-effect'>Device Diagnostics</a></li>

                            <li><a href='/z-wave-gui/update-device-firmware.html' Class='waves-effect'>Update Firmware</a></li>

                            <li><a href='/z-wave-gui/adv-controller-functions.html' Class='waves-effect'>Advanced Functions</a></li>

                            <li><a href='/z-wave-gui' Class='waves-effect'>Settings</a></li>

                            </ul>
                            </div>
                            </li>

                            </ul>
                            </li>
                            <!--/. Side navigation links -->
                            </ul>
                            <div class="sidenav-bg"></div>
                            </div>
                            <!--/. Sidebar navigation -->
                            </header>

                            <!-- Navbar -->
                            <nav class="navbar navbar-expand-sm double-nav sticky-top homeseer">
                            <!-- TOP Navigation -->
                            <div class="float-left mr-1 d-md-none">
                            <a data-activates="side-nav-slide-out" class="button-collapse side-nav-collapse"><i class="fas fa-bars"></i></a>
                            </div>
                            <ul class="nav navbar-nav nav-flex-icons d-none d-md-flex ml-sm-3 ml-md-3">
                            <li class="nav-item">
                            <a href="/devices.html" class="nav-link waves-effect waves-light"><span class="clearfix d-none d-md-inline-block">Devices</span></a>
                            </li>
                            <li class="nav-item">
                            <a href="/events.html" class="nav-link waves-effect waves-light"><span class="clearfix d-none d-md-inline-block">Events</span></a>
                            </li>
                            <li class="nav-item dropdown">
                            <div class="dropdown">
                            <a class="nav-link dropdown-toggle w-100 d-none d-md-inline-block homeseer" data-boundary="viewport" data-toggle="dropdown" id="navbar-cameras-menu">Cameras</a>
                            <div class="homeseer dropdown-menu scrollable-menu nav-sub-menu" aria-labelledby="navbar-tools-menu">
                            <a class="dropdown-item" href="/cameras.html">Live</a>
                            <a class="dropdown-item" href="/recordings.html">Recordings</a>
                            </div>
                            </div>
                            </li>
                            <li class="nav-item">
                            <a href="/setup.html" class="nav-link waves-effect waves-light"><span class="clearfix d-none d-md-inline-block">Setup</span></a>
                            </li>
                            <li class="nav-item dropdown">
                            <div class="dropdown">
                            <a class="nav-link dropdown-toggle w-100 d-none d-md-inline-block homeseer" data-boundary="viewport" data-toggle="dropdown" id="navbar-tools-menu">Tools</a>
                            <div class="homeseer dropdown-menu scrollable-menu nav-sub-menu" aria-labelledby="navbar-tools-menu">
                            <a class="dropdown-item" href="/help.html">Help</a>


                            <a class="dropdown-item homeseer dropdown-toggle" data-toggle="dropdown" data-boundary="viewport" id="navbar-linux-menu">Linux</a>

                            <a class="dropdown-item" href="/timerscounters.html">Timers/Counters</a>
                            <a class="dropdown-item" href="/runscript.html">Script Commands</a>

                            <a class="dropdown-item" href="/energy.html">Energy</a>

                            <a class="dropdown-item" href="/backup.html">Backup/Restore</a>
                            <a class="dropdown-item" href="/log.html">Log</a>
                            <a class="dropdown-item" href="/about.html">About</a>
                            </div>
                            </div>

                            <div class="homeseer dropdown-menu scrollable-menu" aria-labelledby="navbar-linux-menu">

                            <a href='/system.html?action=shutdown_hs' class="dropdown-item">Shutdown HomeSeer...</a>

                            <a href='/system.html?action=shutdown_system' class="dropdown-item">Shutdown System...</a>

                            <a href='/system.html?action=restart_system' class="dropdown-item">Restart System...</a>

                            <a href='/linuxtools.html' class="dropdown-item">Linux Tools</a>

                            <a href='newpass.html' class="dropdown-item">Change System Password</a>

                            </div>

                            </li>
                            <li class="nav-item dropdown">

                            <div class="dropdown">
                            <a class="nav-link dropdown-toggle homeseer w-100 d-none d-md-inline-block" data-boundary="viewport" data-toggle="dropdown" id="navbar-plugin-menu">Plugins</a>
                            <div class="homeseer dropdown-menu scrollable-menu nav-sub-menu" aria-labelledby="navbar-plugin-menu">
                            <a href="/shop.html" class="dropdown-item">Add</a>
                            <a href="/plugins.html" class="dropdown-item">Installed</a>

                            <a class="dropdown-item homeseer dropdown-toggle" data-toggle="dropdown" data-boundary="viewport" id="navbar-NetCam Plugin-toggle">NetCam Plugin</a>

                            <a class="dropdown-item homeseer dropdown-toggle" data-toggle="dropdown" data-boundary="viewport" id="navbar-Simmap-toggle">Simmap</a>

                            <a class="dropdown-item homeseer dropdown-toggle" data-toggle="dropdown" data-boundary="viewport" id="navbar-TPLinkSmartHome4-toggle">TPLinkSmartHome4</a>

                            <a class="dropdown-item homeseer dropdown-toggle" data-toggle="dropdown" data-boundary="viewport" id="navbar-Tuya-toggle">Tuya</a>

                            <a class="dropdown-item homeseer dropdown-toggle" data-toggle="dropdown" data-boundary="viewport" id="navbar-Z-Wave-toggle">Z-Wave</a>

                            </div>
                            </div>

                            <div class="homeseer dropdown-menu scrollable-menu" aria-labelledby="navbar-NetCam Plugin-toggle">

                            <a href="/NetCam/addcameras.html" class="dropdown-item">Add Cameras</a>

                            <a href="/NetCam/viewimages.html" class="dropdown-item">View Images</a>

                            <a href="/NetCam" class="dropdown-item">Settings</a>

                            </div>

                            <div class="homeseer dropdown-menu scrollable-menu" aria-labelledby="navbar-Simmap-toggle">

                            <a href=

                            Click image for larger version

Name:	Trying to add floorplan to house designer.PNG
Views:	132
Size:	230.2 KB
ID:	1491892

                            Comment


                              #15
                              Would you mind sending me the floor plan images (both the png and the jpg) you're trying to use?

                              Comment

                              Working...
                              X