electricitymaps / electricitymaps-contrib

A real-time visualisation of the CO2 emissions of electricity consumption
https://app.electricitymaps.com
GNU Affero General Public License v3.0
3.5k stars 931 forks source link

Add a new zone : Lord Howe Island #3286

Open Manu1400 opened 3 years ago

Manu1400 commented 3 years ago

description

Lord Howe Island is a small electricity zone and electricity-independent from Australia 🇦🇺 .

geographical

https://en.wikipedia.org/wiki/Lord_Howe_Island

data

public dashboard: http://photonscada.com/data/perspective/client/LHI => live data via WebSocket

capacity source

https://www.lhib.nsw.gov.au/infrastructure/renewable-energy

wrma6 commented 1 year ago

Is this issue something I could work on? Not sure if requirements have changed since the issue was opened or if it is already in progress.

VIKTORVAV99 commented 1 year ago

Sure! The only requirement that has changed since this was initially opened is that we now require new parsers to use the parser classes documented here: https://github.com/electricitymaps/electricitymaps-contrib/wiki/Building-a-new-parser

Let me know if you need any assistance and I'll see what I can do.

q-- commented 1 year ago

If you @wrma6 or anyone else still wants to attempt to write a parser for this, your best bet would probably to connect to the WebSocket directly to get the values. (That's my impression from a cursory reading of https://github.com/electricitymaps/electricitymaps-contrib/pull/5530, and a glance at the Network tab in the browser Developer Tools.)

The most similar parser in ElectricityMaps is the one for King Island, Rottnest Island and Flinders Island, if you're looking for inspiration.

Though, that one is specific to the SignalR library, which this site might not be using. There was a buggy-but-functional parser based on the raw WebSocket implemented in the King Island PR (#636) before the switch to using a SignalR library, though. Perhaps it could give you some ideas.

wrma6 commented 1 year ago

Thanks for the advice! When I get back to this I will try it out.