> For the complete documentation index, see [llms.txt](https://mrwheel-docs.gitbook.io/dsmrloggerws/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mrwheel-docs.gitbook.io/dsmrloggerws/overzicht_functies/use_pre40_protocol.md).

# #define USE\_PRE40\_PROTOCOL

Vanaf versie 0.4.5 kan de DSMRloggerWS firmware ook overweg met Slimme Meters die nog niet aan de DSMR 4.0 standaard voldoen.

{% hint style="info" %}
Let op! \
Deze functionaliteit is slechts beperkt getest!\
Met dank aan Jordy voor het testen met een DSMR 2.2 meter!\
Mocht je meer informatie kunnen geven over eventuele problemen neem dan contact met mij op (plaats een comment op mijn website)
{% endhint %}

Om de DSMRloggerWS firmware geschikt te maken voor een pré DSMR 4.0 Slimme Meter zijn er een aantal opties mogelijk (zie de #define tabel hieronder) die mogelijk van toepassing zijn op pré DSMR 4.0 Slimme Meters.

Om deze functionaliteit te kunnen gebruiken moet je ook de speciaal gehackte [arduino-dsmr30](https://github.com/mrWheel/arduino-dsmr30) bibliotheek installeren!

| #define                 | Functie                                                                                                                                                                                                                                               |
| ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| USE\_PRE40\_PROTOCOL    | <p>Deze define zorgt ervoor dat de instellingen<br>voor de seriële poort goed worden gezet (9600, SERIAL\_7E1).<br>tevens wordt een speciaal gehackte 'arduino-dsmr' bibliotheek<br>gebruikt omdat het pré DSMR 4.0 protocol geen checksum heeft.</p> |
| USE\_NTP\_TIME          | <p>Het pré DSMR 4.0 protocol geeft niet altijd een timestamp (0-0:1.0.0).<br>Doet jouw Slimme Meter dat ook niet, dan wordt met deze define de tijd<br>via het NTP protocol gebruikt. Vooralsnog alleen Winter Tijd!</p>                              |
| SM\_HAS\_NO\_FASE\_INFO | <p>Heb je een Slimme Meter die geen verbruik per fase (1-0:x1.7.0 enz.)<br>door geeft, dan kun je met deze optie er toch voor zorgen dat de Actuele<br>chart informatie geeft over je verbruik</p>                                                    |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://mrwheel-docs.gitbook.io/dsmrloggerws/overzicht_functies/use_pre40_protocol.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
