ssshake / vintage-computer-wifi-modem

TheOldNet.com WIFI Modem Emulator
GNU General Public License v3.0
82 stars 15 forks source link

json status from web server #29

Open aptonline opened 1 year ago

aptonline commented 1 year ago

Would it be possible to add the ability to get a json status from the web server as well as a static page?

Something like:

{"WifiStatus":Connected,"SSID":Hotspot,"MacAddress":xx:xx:xx:xx:xx:xx,"IPAddress":xxx.xxx.xxx.xxx,"GateWay":xxx:xxx:xxx:xxx,"SubnetMask":xxx:xxx:xxx:xxx,"ServerPort":23"CallStatus":Connected}

I'm wanting to integrate the serial modem into Home Assistant using the rest sensor.