ESP Easy Netscan
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
ESP Easy Netscan
Okay, this is in a early stage and the app does nothing more than list ESP Easy units and fetch some information about them. A lot more features are on my list. But that being said; I believe in sharing and here's something for the early birds.
https://github.com/Grovkillen/ESP_Easy_Netscan
https://github.com/Grovkillen/ESP_Easy_Netscan
- Attachments
-
- Screenshot.PNG (13.92 KiB) Viewed 18211 times
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP Easy Netscan
thanks for the job, i will try it soon
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP Easy Netscan
I will make a big enhancement today. The current version put a lot of stress on the cpu. Will make that better..
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP Easy Netscan
- Attachments
-
- Screenshot_0.00.013.PNG (17.34 KiB) Viewed 18168 times
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP Easy Netscan
I had made a pretty big mistake in fetching the local IP address. I think this is now fixed with latest release: https://github.com/Grovkillen/ESP_Easy_ ... g/0.00.014
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP Easy Netscan
Looks exciting, but the program is drawing a lot of attention: first Windows Defender comes up with a warning, which I can push through. But then Avast tells me this is a suspicious file and puts it in quarantine until further investigation...
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP Easy Netscan
Aha, I think it's doing that because I make a scan of the network + that I haven't signed the exe with credential. Might do that if I reach release stage.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP Easy Netscan
I disabled the Avast shields and ran the program. Comes up with a lot of question marks.....
I thought it might have something to do with the PW protection of the ESP units, so I removed that from one of them, rebooted and reran the scanner. Same result.
I thought it might have something to do with the PW protection of the ESP units, so I removed that from one of them, rebooted and reran the scanner. Same result.
- Attachments
-
- Schermafdruk 2018-02-12 14.46.01.png (26.83 KiB) Viewed 18102 times
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP Easy Netscan
Looks like it works. I scan the JSON_URL and currently the missing posts are marked with "?"
Thanks for the testing!,
Thanks for the testing!,
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP Easy Netscan
So why the question marks? I don't know about the git info, but all units have names.grovkillen wrote: ↑12 Feb 2018, 15:03 Looks like it works. I scan the JSON_URL and currently the missing posts are marked with "?"
Thanks for the testing!,
When I log into one of them and look at the list of units, the one exception is unit 11: that runs a special version for the P1 meter interface, and it does not feed back the unit name for some reason.
Here's a screenshot...
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP Easy Netscan
Yes I could scrape deeper but we're currently expanding the json page which will make the scanning much faster and more reliable. I guess I can do both, scrape deeper if the json isn't returning the name... Thanks for the feedback!
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP Easy Netscan
I like where this is going, batch updates would be awesome.
For some reason, I could not find mine without a deepscan.
Window size verses column size did not fix display issues... and all of the listed units have names.
Running windows 10
For some reason, I could not find mine without a deepscan.
Window size verses column size did not fix display issues... and all of the listed units have names.
Running windows 10
- Attachments
-
- Clipboard01.jpg (66.03 KiB) Viewed 18002 times
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP Easy Netscan
Please update to latest version.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP Easy Netscan
Much faster, returns the exact same thing. Fields work better as well. Will keep an eye on this going forward.
Thanks for the effort you put into this project.
Thanks for the effort you put into this project.
- budman1758
- Normal user
- Posts: 301
- Joined: 15 Apr 2017, 05:13
- Location: Riverside CA USA
Re: ESP Easy Netscan
Here is the output I get. All my units have names also. Looking good!!
"The glass is twice as big as it needs to be".
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP Easy Netscan
Sweet!budman1758 wrote: ↑14 Feb 2018, 19:02 Here is the output I get. All my units have names also. Looking good!!
Capture.JPG
I will wait and see if most ppl upgrade to the latest FW since we now have name on the JSON page as well. I might leave it at that then.
Super thanks to all that are testing it
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP Easy Netscan
I just tried 0.00.016, the local IP detected was incorrect, the one it found was for a VM that isn't currently running. I changed it to the correct subnet and did a deep scan. It cycled through the correct IP range, but didn't find anything. I then tried it on a different machine that doesn't have any VMs installed, it correctly detected the IP address. I ran a deep scan and it also cycled through the correct IP range, this time it found the units. The output looked a little mangled on the IP address though, screen shot below.
Update: I just noticed that two of my devices weren't detected. They are both ecoplug type devices, and the only two of that type online at the time of the scan.
Any ideas on why the first machine didn't find anything?
Update: I just noticed that two of my devices weren't detected. They are both ecoplug type devices, and the only two of that type online at the time of the scan.
Any ideas on why the first machine didn't find anything?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP Easy Netscan
I've had more people reporting that virtual nic have been causing problems. Will need to look into it.Zeric wrote: ↑15 Feb 2018, 03:06 I just tried 0.00.016, the local IP detected was incorrect, the one it found was for a VM that isn't currently running. I changed it to the correct subnet and did a deep scan. It cycled through the correct IP range, but didn't find anything. I then tried it on a different machine that doesn't have any VMs installed, it correctly detected the IP address. I ran a deep scan and it also cycled through the correct IP range, this time it found the units. The output looked a little mangled on the IP address though, screen shot below.
Update: I just noticed that two of my devices weren't detected. They are both ecoplug type devices, and the only two of that type online at the time of the scan.
Any ideas on why the first machine didn't find anything?
Regarding the missing units, could you send me their mac addresses as a pm?
Will fix the width problem too.
Super thanks for testing!
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP Easy Netscan
A little out-of-the-box thinking.
The ESP units also collect a list of units, shown as "Node list" on the main page.
Instead of going into each and every unit separately, would it not be sufficient to probe one of the units and pull that list?
I'm not saying this is a better method, just throwing out an idea...
The ESP units also collect a list of units, shown as "Node list" on the main page.
Instead of going into each and every unit separately, would it not be sufficient to probe one of the units and pull that list?
I'm not saying this is a better method, just throwing out an idea...
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP Easy Netscan
The node list need global sync right? I cannot trust that this info is always present. But we have discussed that idea as well. Something like that would be nice, find one and then find the rest through that one.manjh wrote: ↑15 Feb 2018, 10:16 A little out-of-the-box thinking.
The ESP units also collect a list of units, shown as "Node list" on the main page.
Instead of going into each and every unit separately, would it not be sufficient to probe one of the units and pull that list?
I'm not saying this is a better method, just throwing out an idea...
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP Easy Netscan
Some of us do not use that unit number, in Home Assistant it does not do anything for me.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP Easy Netscan
Latest FW version support the name on nodes. Will see if digging deeper on the node is the way to go or if it makes the scan slower.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP Easy Netscan
Same here, in Domoticz there is no need for a unit number, name, or even IP. Everything is done based on idx in Domoticz.
Nevertheless, experience tells me it makes sense to "use what you have".
I make it a habit to align the unit number with the IP: starting at 10.0.0.201 for unit 1, and going up. Gives me room for more than 50 ESP units, should be OK.
So even though it is not absolutely needed, I think it makes things a little more organized.
Re: ESP Easy Netscan
Mine all dhcp a random address from a pool. I use name to access the url and in home assistant I send a brodcast to the mqtt sniffer device and ask for the ip address at regular intervals. All of my HA interaction is purely thru MQTT with the topic of the units base name. I am having issues with %sysname% not holding proper case which is killing me right now.
Re: ESP Easy Netscan
As far as node name list, my list always is always blank on all devices. All my units do have a unique Unit number, but they apparently don't see each other. Not sure what type of comm protocol they are trying to use or if there is some other configuration that I don't have set up for them to see each other. Regardless, they all work correctly and talk to my Home Assistant controller. Based on this, consulting the node list on a single unit isn't going to work for everyone.
- budman1758
- Normal user
- Posts: 301
- Joined: 15 Apr 2017, 05:13
- Location: Riverside CA USA
Re: ESP Easy Netscan
On the advanced settings page you need to assign a UDP port number. Then the units will "see" each other.Zeric wrote: ↑15 Feb 2018, 19:26 As far as node name list, my list always is always blank on all devices. All my units do have a unique Unit number, but they apparently don't see each other. Not sure what type of comm protocol they are trying to use or if there is some other configuration that I don't have set up for them to see each other.
"The glass is twice as big as it needs to be".
Re: ESP Easy Netscan
Thanks for the tip. That works on most devices, however it does not work properly on the ecoplug devices in that other devices can't see the ecoplug units. Possibly for the same reason the eco plug devices did not work at all with ESP Easy Netscan. That being the case, trying to use the node list with ESP Easy Netscan isn't going to work in all cases. Just wondering, what is the benefit of the node list, it's interesting, but there must be some greater use for it. I assume it has to do with global sync that I haven't looked into.budman1758 wrote: ↑15 Feb 2018, 19:44On the advanced settings page you need to assign a UDP port number. Then the units will "see" each other.Zeric wrote: ↑15 Feb 2018, 19:26 As far as node name list, my list always is always blank on all devices. All my units do have a unique Unit number, but they apparently don't see each other. Not sure what type of comm protocol they are trying to use or if there is some other configuration that I don't have set up for them to see each other.
Edit: another issue with the node list and ESP Easy Netscan is that they assume all your devices are on the same subnet. I have multiple subnets. For now, all my esp8266 devices are on the same subnet, but that is likely to change in the future.
Re: ESP Easy Netscan
Zeric wrote: ↑15 Feb 2018, 20:09I use it as a starting point whenever I want to browse multiple units. Log into one, and after doing what I wanted to do, from there proceed to the next by clicking the IP.budman1758 wrote: ↑15 Feb 2018, 19:44 Just wondering, what is the benefit of the node list, it's interesting, but there must be some greater use for it. I assume it has to do with global sync that I haven't looked into.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP Easy Netscan
Okay, updated with uptime for all the nodes + that you can double click on a row to open the web GUI or download the config.dat file.
The name is not fetched because it's not on the /json page, BUT it's going to be in the near future.. a PR got reverted or something because it did work some weeks ago but not with current build.
The name is not fetched because it's not on the /json page, BUT it's going to be in the near future.. a PR got reverted or something because it did work some weeks ago but not with current build.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP Easy Netscan
Made a fairly big update today.
This version require you to have the latest mega if you want everything to work just fine!
Added: WiFi access point
Added: Possibility to replace the MAC access point info (BSSID) with own name.
Added: Signal strength
Added: Double click on row now brings up a menu.
Added: Open in browser (through menu)
Added: Ping IP (through menu)
Added: Download config.dat (through menu)
- Attachments
-
- Screenshot.PNG (44.46 KiB) Viewed 17743 times
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Who is online
Users browsing this forum: No registered users and 15 guests