Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 3

Yet Another lastWorkingRoute visualiser


10der

Question

Please stop forcing the use this app!

Edited by 10der
  • Like 7
  • Thanks 4
Link to comment
Share on other sites

Recommended Posts

  • 0
  • Inquirer
  • 6 minutes ago, FonsBrand said:

    devisec.json and rooms.json are changed to 0 bytes.

    the root issue here.

    but. you can;

    rename load.php to load.php.bak

    re-save devisec.json and rooms.json from browser manually

    and you should get a picture :)

     

    what happens with load.php you may see before... for example, you may call http://localhost/load.php.... add to load.php debug messages like die :) print var_dump etc :)

     

    Edited by 10der
    • Like 1
    Link to comment
    Share on other sites

    • 0
    13 minutes ago, 10der said:

    the root issue here.

    but. you can;

    rename load.php to load.php.bak

    re-save devisec.json and rooms.json from browser manually

    and you should get a picture :)

     

    what happens with load.php you may see before... for example, you may call http://localhost/load.php.... add to load.php debug messages like die :) print var_dump etc :)

     

    Thanks 10der,

     

    after renaming load.php to load.php.bak it is working.

     

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0

    10der please, you can also add the old version that existed before changing to Select device: input.
    I was stupid to download and overwrite the old index and load files. The new files do not work at all. Rooms and Devices files become 0 bytes with the latest version.
    The previous version just gave me the result I wanted.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 2 hours ago, RH_Dreambox said:

    10der please, you can also add the old version that existed before changing to Select device: input.
    I was stupid to download and overwrite the old index and load files. The new files do not work at all. Rooms and Devices files become 0 bytes with the latest version.
    The previous version just gave me the result I wanted.

    instruction how to config load.php in header!

    @RH_Dreambox simnple create and fill

     

    example load.settings  for load.php

    Please login or register to see this code.

    Edited by 10der
    Link to comment
    Share on other sites

    • 0

    Load.php is properly configured but the latest version no longer works, Rooms and devices are empty.
    I do not have a web server so I run PHP on Windows according to tips from you.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • @RH_Dreambox can you call load.php directly ?

    But anyway thank for reporting I’ll check at evening. Issue not in index.html — issue just in load.php

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • @RH_Dreambox can you put this file and call load.php directly?  here is an example what you should get.

     

    Please login or register to see this image.

     

    Edited by 10der
    Link to comment
    Share on other sites

    • 0

    http://My_PC_IP/php/load.php

    The result, not so good...

     

    The site can not be reached
    ERR_CONNECTION_REFUSED

     

    If I run index.html the files rooms and devices is still empty (0 bytes)

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • @RH_Dreambox Sir. kill load,php at all. 

    save files manually.

    otherwise configure load.php via load settings properly!

    Link to comment
    Share on other sites

    • 0

    The new load.php is properly configured and I use exactly the same login as on the older load.php that worked.
    Unfortunately, I was stupid enough not to make copies of the older files before I tested the latest version.


    But if you have copies of the older files, I'm grateful if you want to post copies of them.

    I can, however, manually create rooms and devices, but it will be quite tediously every time you want to check the routing because I have two HC2.

    There must be something with the new code that does not work with PHP installed locally on my PC.

     

    Please login or register to see this attachment.

    Edited by RH_Dreambox
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • old php file was 

     

    (only start fragment)

     

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

    • 0

    OK, but the index-file? There is a new input dialog that was not previously available. Could there be something changed that does not work for me?

    I am now testing to rename load.php and manually download rooms and devices.
    Then index.html works.

    Link to comment
    Share on other sites

    • 0
    2 hours ago, RH_Dreambox said:

    OK, but the index-file? There is a new input dialog that was not previously available. Could there be something changed that does not work for me?

    I am now testing to rename load.php and manually download rooms and devices.
    Then index.html works.

    I had the same issue.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • @FonsBrand @RH_Dreambox guys. put your creds in php file directly instead of a config file. idk why it's not works.

    if smb have a time - I can provide some instructions for php and we can trying to find issue.

    Link to comment
    Share on other sites

    • 0

    I don't use the load.php file, only the index.html and the self made devices.json and rooms.json

     

    Please login or register to see this code.

    is simply not working, if u use the load.php it wil clear the both .json files.

     

    Link to comment
    Share on other sites

    • 0

    Hello Guys,

     

    new files working fine for me. @FonsBrand, @Dreambox did you create new file with credentials? I think the intention is to have your special settings in a seperate file so you can update load.php anytime without canging your login data. Create empty file "load.settings" in same directory as other files an put:

    Please login or register to see this code.

    with your settings in in. Works very well...

     

    Anyway, whould it be usefull displaying older LWR in other colour? In my net most devices update LWR within 3 days. There are some few with older LWR which have no wakeup interval or have any problem reporting it to HC. In my opinion it can be a nice feature mark those devices in the visualiser and whould help find problems at first glance. @10der what do you think? ;)

     

     

    • Thanks 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • @AndyY for first THANK YOU very much for positive feedback and clearly describe how to use config file!

    about color - yes, propose me color :) cuz deciding what color best it’s pain for me, lol :)

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...