Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add site creation date when creating a site #168

Open
zakwatts opened this issue May 22, 2024 · 3 comments
Open

Add site creation date when creating a site #168

zakwatts opened this issue May 22, 2024 · 3 comments

Comments

@zakwatts
Copy link
Contributor

Currently when adding a site via the api, the response is:
Site added successfully: {'client_site_id': 1, 'client_site_name': 'test_site_1', 'orientation': 15.0, 'tilt': 35.0, 'latitude': 53.68, 'longitude': -2.0, 'inverter_capacity_kw': 4.0, 'module_capacity_kw': 4.0, 'site_uuid': '1425036a-4cc6-41e9-982b-112debebfede', 'capacity_kw': 4.0, 'dno': '{"dno_id": "23", "name": "_M", "long_name": "NPG (Yorkshire Electric)"}', 'gsp': '{"gsp_id": "109", "name": "Elland"}'}

It could also be useful to log the date the site was also added

@zakwatts
Copy link
Contributor Author

@peterdudfield is this something that we already do?

@peterdudfield
Copy link
Contributor

Not currently,

@peterdudfield
Copy link
Contributor

I can add the created_utc time back in the repsonse? Would that be useful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants