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

Feature/hama wi fi steckdose #1598

Merged
merged 6 commits into from
Mar 3, 2019

Conversation

markusrudolf
Copy link
Contributor

@markusrudolf markusrudolf commented Mar 2, 2019

Added a new outlet from HAMA. Do you also need a photo of the device and a howto-flash-it? Then let me know.

https://at.hama.com/00176533/hama-wifi-steckdose-3500w-16a

Markus Rudolf added 3 commits March 2, 2019 14:58
…ne looking exacly the same but different part number. I therefor included the part number in the configuration name.

Signed-off-by: Markus Rudolf <info@markusrudolf.de>
@mcspr
Copy link
Collaborator

mcspr commented Mar 2, 2019

Thank you!

One small thing - device define is expected to be combined MANUFACTURER "_" DEVICE, so DEVICE should be WIFI_STECKDOSE_00176533. And... any reason to keep the number code? mb just WIFI_STECKDOSE?

@markusrudolf
Copy link
Contributor Author

markusrudolf commented Mar 2, 2019 via email

@mcspr
Copy link
Collaborator

mcspr commented Mar 2, 2019

Please do. Let's keep the number.

@markusrudolf
Copy link
Contributor Author

That should be already in the required format in my latest commit (a861707) You may pull then if there are no other objections.

@markusrudolf
Copy link
Contributor Author

I can work on documentation. What is the best approach for this? Clone the Wiki GIT repo, add the pages missing for HAMA device (how to flash, pinout for UART etc) and do a pull request?

Copy link
Collaborator

@mcspr mcspr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About the documentation:
Github does not expose pull requests or any git webui for wiki repo. You can clone and edit the wiki locally, but you'll need a different repo to push to, which I can merge manually (access rights!)
One option is to use Wiki on your fork, see here to enable it: https://github.com/markusrudolf/espurna/settings

code/espurna/config/hardware.h Outdated Show resolved Hide resolved
code/platformio.ini Outdated Show resolved Hide resolved
@markusrudolf
Copy link
Contributor Author

markusrudolf commented Mar 2, 2019 via email

mcspr and others added 2 commits March 3, 2019 09:13
Changed name string to comply with naming conventions

Co-Authored-By: markusrudolf <markus.rudolf@mpic.de>
Added OTA build recipe as suggested by mcspr

Co-Authored-By: markusrudolf <markus.rudolf@mpic.de>
@markusrudolf
Copy link
Contributor Author

Sorry for messing up the formatting in my reply, the mail client kinda messed it up :-/
I merged in the suggestions you made. I didn't test the OTA function but it builds. The binaries are same size though. Is there any change for an OTA image? Like different file header or something?

If you want to pull now feel free

@mcspr mcspr merged commit b0ee48e into xoseperez:dev Mar 3, 2019
@mcspr
Copy link
Collaborator

mcspr commented Mar 3, 2019

No problem, merged.

-ota produces the same .bin, it is strictly for platformio. it will pick up upload_flags and upload_port from environment variables.

@markusrudolf
Copy link
Contributor Author

I prepared a rough draft documentation on my fork of the wiki. See here

Needs to be still put into TOC and such. Comments welcome.

@mcspr
Copy link
Collaborator

mcspr commented Mar 4, 2019

Yes, I've seen the first draft yesterday :) Nothing stands out to me, merged into the wiki. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants