I just finished the markdown file. I also gave you access on Github so you can see the result.
There are still modifications to be made to the syntax, for example. It also automatically changes some words for me and I don’t know how to do it. Trigger modified to trigger or it also removes words sometimes « For this, … » removal of this
I would also like to highlight sentences and put words in red but I haven’t found out how to do it yet
There are many resources on the internet that talk about PRs so if you have any trouble don’t hesitate to check out the Github documentation which is very rich
If you have any trouble, worst case we’ll do it for you but if you can learn something it’s always a good thing
However, I’m stuck on integrating the image from the repo. I followed the example, searched the web, and tried a bunch of path examples but I can’t get it to work.
A little help with the first image would be great and I’ll do the rest afterward
Hello @jerome we’ll get there these « problems » are normal.
The changes you made were not pushed to the correct branch.
fork of the main repo (that’s done)
creation of a branch (that’s done)
clone of the fork on your PC?
did you switch branches?
Now you need to make your modifications and commits/push
Then make the pull request, and that’s where you made a mistake because you made the request on your own fork, you need to make the request on the main repository.
The image exists but on another branch
The site needs to be generated to be functional, your file is OK
Switch branch? Done
Now you need to make your changes and commits/push. Done
Then make the pull request, and that’s where you made a mistake because you made the request on your own fork, it’s on the main repository that you need to make the request. Done
I think that’s it. If you could check or @pierre-gilles.
I looked at your PR, we’re a bit far from the expected result honestly (no offense, when you’re not familiar with node development, git, etc., it’s not easy)
Before even talking about the PR, I quickly read the Arduino code, are you sure it works?
It seems very messy to me:
There is a JSON serialization of the data, while the Gladys MQTT API does not take JSON
There is no place where the data is sent via MQTT
You are using the « ESP8266WifiMulti » package, why?
The code is a mix of English and French, there are many variables defined but unused.
Either you got the wrong file, or it never worked for you ^^
I think it would be worth taking a pass on the code to make it cleaner.
Regarding the publication of this tutorial, I wonder if it’s the right strategy to ask you to publish it on the site. Maybe posting it in the « Tutorials » section of the forum would be sufficient and easier for you: Tutoriels - Gladys Assistant community
Because as it stands, the PR on Github is far from working, I would say there are 3-4 hours of work, and you who may not have the skills, it might take you a lot of time (and especially learning other technologies), I may have underestimated the necessary skills/the learning curve to write a post on the site.
Don’t take it the wrong way, I’m trying to find the best compromise ^^